API reference
API reference
Select your platform
No SDKs available
No versions available

CompositeMaskAdd Class

Extends Mask2D
A mask that combines multiple other masks and adds their values together.

Member Functions

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 the mask layers, which are combined to produce a final value that represents the mask for the candidate.
Parameters
c
The candidate to apply the mask to.
Returns
The mask value for the given candidate.
Checks if the candidate is valid for the given mask.
Parameters
c
Candidate with the information from the distribution
Returns
true if valid
Did you find this page helpful?
Thumbs up icon
Thumbs down icon