Navigation
API > API/Plugins > API/Plugins/AvalancheMaterial
Holds all the Material Bridges to use
| Name | FMaterialBridgeRegistry |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheMaterial/Public/MaterialBridge/AvaMaterialBridgeRegistry.h |
| Include Path | #include "MaterialBridge/AvaMaterialBridgeRegistry.h" |
Syntax
class FMaterialBridgeRegistry
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RegisteredMaterialBridges | TMap< TObjectKey< UStruct >, TArray< TUniquePtr< FMaterialBridge > > > | Registered material bridges by their supported type | MaterialBridge/AvaMaterialBridgeRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FMaterialBridge * GetMaterialBridge
(
FConstDataView InMaterialContainer |
Tries to find the most relevant material bridge for a given material container, returning a null if object is invalid, or if a relevant material bridge was not found. | MaterialBridge/AvaMaterialBridgeRegistry.h | |
void Register
(
uint32 InPriority, |
MaterialBridge/AvaMaterialBridgeRegistry.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RegisterInternal
(
TUniquePtr< UE::Ava::FMaterialBridge >&& InMaterialBridge, |
Initializes the material bridge and adds it to this registry | MaterialBridge/AvaMaterialBridgeRegistry.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FMaterialBridgeRegistry & Get() |
MaterialBridge/AvaMaterialBridgeRegistry.h | ||
static FMaterialBridgeRegistry & GetMutable() |
MaterialBridge/AvaMaterialBridgeRegistry.h |