Navigation
API > API/Plugins > API/Plugins/AvalancheMask
Represents the state for a mask to apply to / restore from a material
| Name | FAvaMask2DMaskState |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheMask/Public/Mask2D/AvaMask2DMaskState.h |
| Include Path | #include "Mask2D/AvaMask2DMaskState.h" |
Syntax
USTRUCT ()
struct FAvaMask2DMaskState
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAvaMask2DMaskState() |
Mask2D/AvaMask2DMaskState.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaterialParameters | FAvaMask2DMaterialParameters | The material parameters to save / restore | Mask2D/AvaMask2DMaskState.h | |
| OutputProcessor | TObjectPtr< UMaterialFunctionInterface > | The output processor was added to the material if material was from material designer | Mask2D/AvaMask2DMaskState.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Apply
(
UMaterialInstanceDynamic* InMaterial |
Applies this state to the given material | Mask2D/AvaMask2DMaskState.h | |
void Store
(
UMaterialInstanceDynamic* InMaterial |
Stores the given material's mask state | Mask2D/AvaMask2DMaskState.h |