Navigation
API > API/Plugins > API/Plugins/AvalancheMaterial
Holds the data to identify a slot within a material container
| Name | FAvaMaterialBridgeSlotId |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheMaterial/Public/MaterialBridge/Slot/AvaMaterialBridgeSlotId.h |
| Include Path | #include "MaterialBridge/Slot/AvaMaterialBridgeSlotId.h" |
Syntax
USTRUCT ()
struct FAvaMaterialBridgeSlotId
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MaterialBridge/Slot/AvaMaterialBridgeSlotId.h | |||
FAvaMaterialBridgeSlotId
(
int32 InSlotIndex |
Constructor for when a material slot can be identified by its index | MaterialBridge/Slot/AvaMaterialBridgeSlotId.h | |
FAvaMaterialBridgeSlotId
(
FName InSlotName |
Constructor for when a material slot can be identified by an FName | MaterialBridge/Slot/AvaMaterialBridgeSlotId.h | |
FAvaMaterialBridgeSlotId
(
FName InSlotName, |
Constructor for when a material slot can be identified by a name and index | MaterialBridge/Slot/AvaMaterialBridgeSlotId.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Index | int32 | Slot index, if any | MaterialBridge/Slot/AvaMaterialBridgeSlotId.h | |
| Name | FName | Slot name, if any | MaterialBridge/Slot/AvaMaterialBridgeSlotId.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsValid() |
Whether the slot id is valid (i.e. not the defaults) | MaterialBridge/Slot/AvaMaterialBridgeSlotId.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FAvaMaterialBridgeSlotId& InOther |
MaterialBridge/Slot/AvaMaterialBridgeSlotId.h |