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
Constructors
| Name |
Remarks |
Include Path |
Unreal Specifiers |
|
|
AvaMaskTypes.h |
|
|
|
AvaMaskTypes.h |
|
|
|
AvaMaskTypes.h |
|
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 |
|
| InnerFeatherRadius |
float |
|
AvaMaskTypes.h |
|
| MaskIndices |
FLinearColor |
Indices to the mask textures array. Each component (R,G,B,A) represents an index |
AvaMaskTypes.h |
|
| OuterFeatherRadius |
float |
|
AvaMaskTypes.h |
|
| Padding |
FVector2f |
The render target might be larger/overscanned, so we need to compensate. |
AvaMaskTypes.h |
|
| RenderTarget |
TObjectPtr< UTextureRenderTarget2DArray > |
Render target array to use for masking |
AvaMaskTypes.h |
|
Functions
Public
| Name |
Remarks |
Include Path |
Unreal Specifiers |
|
Applies the current values of this struct to the given material parameters. |
AvaMaskTypes.h |
|
|
|
AvaMaskTypes.h |
|
|
Set current values of the given material and stores it in the member variables of this struct. |
AvaMaskTypes.h |
|
Operators
Deprecated Variables
| Name |
Type |
Remarks |
Include Path |
Unreal Specifiers |
| Channel_DEPRECATED |
EGeometryMaskColorChannel |
Multiplies the mask texture to determine which channel to read from. |
AvaMaskTypes.h |
|
| ChannelAsVector_DEPRECATED |
FLinearColor |
Multiplies the mask texture to determine which channel to read from. |
AvaMaskTypes.h |
|
| Texture_DEPRECATED |
TObjectPtr< UTexture > |
Mask texture. |
AvaMaskTypes.h |
|