Navigation
API > API/Plugins > API/Plugins/AvalancheMaterial
Base context class containing common functionality shared among all material bridge contexts
| Name | TMaterialBridgeContext |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheMaterial/Public/MaterialBridge/Context/AvaMaterialBridgeContext.h |
| Include Path | #include "MaterialBridge/Context/AvaMaterialBridgeContext.h" |
Syntax
template<typename InContextType>
class TMaterialBridgeContext
Derived Classes
- FMaterialBridgeApplyStateContext
- FMaterialBridgeReadSlotContext
- FMaterialBridgeStoreStateContext
- FMaterialBridgeWriteSlotContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MaterialBridge/Context/AvaMaterialBridgeContext.h | |||
TMaterialBridgeContext
(
FDataViewType InMaterialContainer |
MaterialBridge/Context/AvaMaterialBridgeContext.h | ||
TMaterialBridgeContext
(
UObjectType* InMaterialContainer |
MaterialBridge/Context/AvaMaterialBridgeContext.h | ||
TMaterialBridgeContext
(
FDataViewType InMaterialContainer, |
MaterialBridge/Context/AvaMaterialBridgeContext.h | ||
TMaterialBridgeContext
(
UObjectType* InMaterialContainer, |
MaterialBridge/Context/AvaMaterialBridgeContext.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FDataViewType | std::conditional_t< bWithConstMaterialContainer, FConstDataView, FDataView > | MaterialBridge/Context/AvaMaterialBridgeContext.h | |
| UObjectType | std::conditional_t< bWithConstMaterialContainer, const UObject, UObject > | MaterialBridge/Context/AvaMaterialBridgeContext.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bWithConstMaterialContainer | bool | MaterialBridge/Context/AvaMaterialBridgeContext.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaterialContainer | FDataViewType | The object containing the material | MaterialBridge/Context/AvaMaterialBridgeContext.h | |
| ParentContext | const InContextType * | Parent context. Non-null if in a nested call. Should always be valid checked | MaterialBridge/Context/AvaMaterialBridgeContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UObjectType * GetMaterialContainerObject() |
Gets the first material container that is a UObject | MaterialBridge/Context/AvaMaterialBridgeContext.h | |
const InContextType & GetTopmostContext() |
Gets the topmost slot context in the context chain | MaterialBridge/Context/AvaMaterialBridgeContext.h |