Skip to content

FluidContact ​

record in OpalScript

Immutable snapshot from a FluidProbe2D entered, exited or splash event.

Properties ​

MemberDescription
FluidContact.DomainIdThe fluid domain's scene object ID.
FluidContact.XSample world X in pixels.
FluidContact.YSample world Y in pixels.
FluidContact.CoverageApproximate local kernel occupancy, 0 to 1.
FluidContact.VelocityXWeighted water velocity X in pixels per second.
FluidContact.VelocityYWeighted water velocity Y in pixels per second.
FluidContact.SpeedWater speed in pixels per second.
FluidContact.RelativeSpeedProbe movement relative to local water, in pixels per second.
FluidContact.WetWhether the probe is wet after applying its entry and exit thresholds.

See also ​