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