API reference
API reference
Select your platform
No SDKs available
No versions available

RayDistanceMask Class

Extends Mask
A mask that samples the distance of a raycast hit.

Member Functions

Returns the distance of the raycast hit from the candidate.
Parameters
candidate
Candidate with the information from the distribution
Returns
The distance of the raycast hit
Always returns true as this mask does not filter candidates.
Parameters
candidate
Candidate with the information from the distribution
Returns
Always returns true