Check
(
c
)
|
Checks if the candidate is valid for the given mask.
Signature
abstract bool Check(Candidate c) Parameters Returns abstract bool
true if valid
|
SampleMask
(
candidate
)
|
Executes the mask on a candidate and returns the value.
Signature
abstract float SampleMask(Candidate candidate) Parameters Returns abstract float
The float depending on the mask
|
SampleMask
(
candidate
, scale
, offset
)
|
Executes the mask on a candidate with scale and offset and returns the value.
Signature
float SampleMask(Candidate candidate, float scale, float offset=0f) Parameters scale: float
The scale to apply before the mask is applied. This can be used for example if you want to have a range of values that are all multiplied by 10.
offset: float
The offset to apply before the mask is applied.
Returns float
A float depending on the mask
|
SampleMask
(
candidate
, limitMin
, limitMax
, scale
, offset
)
|
A mask that can be used to filter out objects from the scene.
Signature
float SampleMask(Candidate candidate, float limitMin, float limitMax, float scale=1f, float offset=0f) Parameters limitMin: float
Minimum to fullfill from the mask
limitMax: float
Maximum to fullfill from the mask
scale: float
Scale the value from the mask
offset: float
Add offset from the mask
Returns float |