API reference

InsideCurrentRoomMask Class

Extends Mask
A mask that returns true if the position is inside of a room.

Methods

Check ( c )
Checks if the hit point of the candidate is in the current room.
Signature
override bool Check(Candidate c)
Parameters
c: Candidate  Candidate with the information from the distribution
Returns
override bool  The adjusted and clamped value
SampleMask ( candidate )
This is not used in this check.
Signature
override float SampleMask(Candidate candidate)
Parameters
candidate: Candidate  Candidate with the information from the distribution
Returns
override float  Not used in this check, always 0