API reference

AnchorComponentDistanceMask Class

Extends Mask
A mask that samples the distance between an anchor and a component.

Fields

axis : Axis
The axis to sample the distance along.
Signature
Axis axis

Methods

Check ( c )
Not used on this mask.
Signature
override bool Check(Candidate c)
Parameters
c: Candidate  The candidate
Returns
override bool  true
SampleMask ( c )
The distance with the configured axis.
Signature
override float SampleMask(Candidate c)
Parameters
c: Candidate  The candidate for a location
Returns
override float  Distance

Inner Enum

Axis Enum

Axis representation.

Enumeration Constants

MemberValue
X
0
Y
1
Z
2