Navigation
API > API/Plugins > API/Plugins/DynamicMaterial
BuildState is a class that stores the current state of a material that is being built. It stores useful lists of UMaterialExpressions relating to various object within the builder, such a Stages or Sources. It is an entirely transient object. It is not meant to be saved outside of the material building processs.
| Name | IDMMaterialBuildStateInterface |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterial/Public/Model/IDMMaterialBuildStateInterface.h |
| Include Path | #include "Model/IDMMaterialBuildStateInterface.h" |
Syntax
struct IDMMaterialBuildStateInterface
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDMMaterialBuildStateInterface() |
Model/IDMMaterialBuildStateInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddOtherExpressions
(
const TArray< UMaterialExpression* >& InOtherExpressions |
Other Expressions. | Model/IDMMaterialBuildStateInterface.h | |
void AddValueExpressions
(
const UDMMaterialValue* InValue, |
Model/IDMMaterialBuildStateInterface.h | ||
IDMMaterialBuildUtilsInterface & GetBuildUtils() |
Returns the build utils object for this build state, holding helpful material utilities. | Model/IDMMaterialBuildStateInterface.h | |
UMaterial * GetDynamicMaterial() |
Returns the dynamic material being built. | Model/IDMMaterialBuildStateInterface.h | |
UMaterialExpression * GetLastValueExpression
(
const UDMMaterialValue* InValue |
Model/IDMMaterialBuildStateInterface.h | ||
UDynamicMaterialModel * GetMaterialModel() |
Returns the material model for the material being build. | Model/IDMMaterialBuildStateInterface.h | |
const TSet< UMaterialExpression * > & GetOtherExpressions() |
Model/IDMMaterialBuildStateInterface.h | ||
const TArray< UMaterialExpression * > & GetValueExpressions
(
const UDMMaterialValue* InValue |
Model/IDMMaterialBuildStateInterface.h | ||
const TMap< const UDMMaterialValue *, TArray< UMaterialExpression * > > & GetValueMap() |
Model/IDMMaterialBuildStateInterface.h | ||
TArray< const UDMMaterialValue * > GetValues() |
Model/IDMMaterialBuildStateInterface.h | ||
bool HasValue
(
const UDMMaterialValue* InValue |
Material Values | Model/IDMMaterialBuildStateInterface.h |