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 |