Navigation
API > API/Plugins > API/Plugins/AvalancheMaterial
Base struct for short-lived representation of an accessed material slot for write
| Name | FMaterialBridgeWriteSlot |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheMaterial/Public/MaterialBridge/Slot/AvaMaterialBridgeWriteSlot.h |
| Include Path | #include "MaterialBridge/Slot/AvaMaterialBridgeWriteSlot.h" |
Syntax
class FMaterialBridgeWriteSlot : public UE::Ava::FMaterialBridgeSlot
Inheritance Hierarchy
- FMaterialBridgeSlot → FMaterialBridgeWriteSlot
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMaterialBridgeSlot
(
UMaterialInterface* InMaterial, |
Constructor for when a material slot is indexed | MaterialBridge/Slot/AvaMaterialBridgeWriteSlot.h | |
bool RequestFeature
(
TConstStructView< FAvaMaterialBridgeFeature > InFeature |
Requests a feature for this material slot | MaterialBridge/Slot/AvaMaterialBridgeWriteSlot.h | |
void SetMaterial
(
UMaterialInterface* InMaterial |
Sets the new material for the slot | MaterialBridge/Slot/AvaMaterialBridgeWriteSlot.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetMaterialInternal
(
UMaterialInterface* InMaterial |
Sets the material property directly without calling the change notification | MaterialBridge/Slot/AvaMaterialBridgeWriteSlot.h |
Protected Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool OnFeatureRequest
(
TConstStructView< FAvaMaterialBridgeFeature > InFeature |
Requests a feature for this material slot | MaterialBridge/Slot/AvaMaterialBridgeWriteSlot.h | |
virtual void OnMaterialChanged() |
Notifies when a new material has been set for the slot | MaterialBridge/Slot/AvaMaterialBridgeWriteSlot.h |