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

ColliderMask Class

Extends Mask
A mask that checks for collisions with the scene.

Methods

Check ( c )
Checks if the candidate collides with any other objects in the scene.
Signature
override bool Check(Candidate c)
Parameters
c: Candidate  The candidate for a location
Returns
override bool
SampleMask ( candidate )
Executes the mask on a candidate and returns the value.
Signature
override float SampleMask(Candidate c)
Parameters
candidate: Candidate  Candidate with the information from the distribution
Returns
override float  The float depending on the mask