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

SpaceMapGPUMask Class

Extends Mask
A mask that uses the SpaceMapGPU to determine if a point is in or out of an object.

Methods

Check ( c )
Checks if the candidate is valid for the given mask.
Signature
override bool Check(Candidate c)
Parameters
c: Candidate  Candidate with the information from the distribution
Returns
override bool  true if valid
SampleMask ( candidate )
Executes the mask on a candidate and returns the value.
Signature
override float SampleMask(Candidate candidate)
Parameters
candidate: Candidate  Candidate with the information from the distribution
Returns
override float  The float depending on the mask