QueryEvents#

Class in WaveHarmonic.Crest, WaveHarmonic.Crest

Emits events (UnityEvents) based on the sampled water data.

Members#

Properties#

DistanceFromEdge

Sends the distance from the water’s edge.

DistanceFromEdgeCurve

Apply a curve to the distance.

DistanceFromEdgeMaximum

The maximum distance.

DistanceFromEdgeSigned

Whether to keep the sign of the value (ie positive/negative).

DistanceFromEdgeUseCurve

Apply a curve to the distance.

DistanceFromSurface

Sends the distance from the water surface.

DistanceFromSurfaceCurve

Apply a curve to the distance.

DistanceFromSurfaceMaximum

The maximum distance.

DistanceFromSurfaceSigned

Whether to keep the sign of the value (ie positive/negative).

DistanceFromSurfaceUseCurve

Whether to apply a curve to the distance.

Layer

Which water collision layer to target.

MinimumWavelength

The minimum wavelength for queries.

Source

What transform should the queries be based on.