Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor
Defines a material property slot that can be a Material Designer Material.
| Name | FDMObjectMaterialProperty |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Public/DMObjectMaterialProperty.h |
| Include Path | #include "DMObjectMaterialProperty.h" |
Syntax
USTRUCT ()
struct FDMObjectMaterialProperty
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDMObjectMaterialProperty
(
UObject* InOuter, |
Class Property (including potential array index) | DMObjectMaterialProperty.h | |
| DMObjectMaterialProperty.h | |||
FDMObjectMaterialProperty
(
UPrimitiveComponent* InOuter, |
UPrimitiveComponent Material Index | DMObjectMaterialProperty.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetIndex() |
DMObjectMaterialProperty.h | ||
UDynamicMaterialInstance * GetMaterial() |
DMObjectMaterialProperty.h | ||
UMaterialInterface * GetMaterialInterface() |
DMObjectMaterialProperty.h | ||
UDynamicMaterialModelBase * GetMaterialModelBase() |
DMObjectMaterialProperty.h | ||
UObject * GetOuter() |
DMObjectMaterialProperty.h | ||
FProperty * GetProperty() |
DMObjectMaterialProperty.h | ||
FText GetPropertyName
(
bool bInIgnoreNewStatus |
DMObjectMaterialProperty.h | ||
InClass * GetTypedOuter() |
DMObjectMaterialProperty.h | ||
bool IsElement() |
Whether this is an element of a primitive component's material override array. | DMObjectMaterialProperty.h | |
bool IsProperty() |
Whether this is a property on the object. | DMObjectMaterialProperty.h | |
bool IsValid() |
DMObjectMaterialProperty.h | ||
void Reset() |
DMObjectMaterialProperty.h | ||
void SetMaterialSetterDelegate
(
const FDMSetMaterialObjectProperty& InDelegate |
The delegate can be used to override (or preprocess) the material setter function | DMObjectMaterialProperty.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetMaterial
(
UDynamicMaterialInstance* InDynamicMaterial |
DMObjectMaterialProperty.h |