Method SetMask
SetMask(MaskingTypes, Vector4)
Function used to set the mask type and coordinates in World Space
Declaration
public void SetMask(MaskingTypes type, Vector4 maskCoords)
Parameters
Type | Name | Description |
---|---|---|
MaskingTypes | type | |
Vector4 | maskCoords |
SetMask(MaskingTypes, Vector4, float, float)
Function used to set the mask type, coordinates and softness
Declaration
public void SetMask(MaskingTypes type, Vector4 maskCoords, float softnessX, float softnessY)
Parameters
Type | Name | Description |
---|---|---|
MaskingTypes | type | |
Vector4 | maskCoords | |
float | softnessX | |
float | softnessY |