Navigation
API > API/Plugins > API/Plugins/AvalancheMask
References
| Module | AvalancheMask |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheMask/Public/AvaMaskTypes.h |
| Include | #include "AvaMaskTypes.h" |
Syntax
USTRUCT ()
struct FAvaMask2DMaterialParameters
Remarks
Used to store, set and compare material parameter values.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bApplyFeathering | ||
| float | BaseOpacity | Base opacity/alpha to use in Read mode. | |
| bool | bInvert | Whether the mask result should be inverted when applied. | |
| TEnumAsByte< EBlendMode > | BlendMode | ||
| FName | CanvasName | Canvas/Channel name. | |
| EGeometryMaskColorChannel | Channel | Multiplies the mask texture to determine which channel to read from. | |
| FLinearColor | ChannelAsVector | Multiplies the mask texture to determine which channel to read from. | |
| float | InnerFeatherRadius | ||
| float | OuterFeatherRadius | ||
| FVector2f | Padding | The render target might be larger/overscanned, so we need to compensate. | |
| TObjectPtr< UTexture > | Texture | Mask texture. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | SetFromMaterial
(
const UMaterialInterface* InMaterial, |
Set current values from the input material and named parameters, return true if successful. |