Check
(
c
)
|
Not used on this mask.
Signature
override bool Check(Candidate c) Parameters Returns override boolÂ
true
|
SampleMask
(
c
)
|
This method applies the mask to the given candidate.
It first generates an affine transformation based on the provided parameters, and then applies this transformation to the local position of the candidate. The resulting position is used to sample each layer in the mask, and the results are multiplied together to produce a final value that represents the mask for the candidate.
Signature
override float SampleMask(Candidate c) Parameters Returns override floatÂ
The mask value for the given candidate.
|