Navigation
API > API/Plugins > API/Plugins/DynamicMaterial > API/Plugins/DynamicMaterial/Components
Inheritance Hierarchy
- UObject
- FNotifyHook
- UDMMaterialComponent
- UDMMaterialLinkedComponent
- UDMMaterialValue
- UDMMaterialValueBool
- UDMMaterialValueColorAtlas
- UDMMaterialValueFloat
- UDMMaterialValueFloat1
- UDMMaterialValueFloat2
- UDMMaterialValueFloat3RGB
- UDMMaterialValueFloat3RPY
- UDMMaterialValueFloat3XYZ
- UDMMaterialValueFloat4
- UDMMaterialValueTexture
References
| Module | DynamicMaterial |
| Header | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterial/Public/Components/DMMaterialValue.h |
| Include | #include "Components/DMMaterialValue.h" |
Syntax
UCLASS (BlueprintType, Abstract, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Value"))
class UDMMaterialValue : public UDMMaterialLinkedComponent
Remarks
A value used inside a material. Can be exported as a material parameter.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLocal | True: The value is local to the stage it is used in. | |
| TSharedPtr< IDetailTreeNode > | DetailTreeNode | ||
| void GenerateExpression(const TSharedRef< IDMMaterialBuildStateInterface > &InBuildState) const PURE... | FindIndexSafe | ||
| TObjectPtr< UDMMaterialParameter > | Parameter | The parameter name used to expose this value in a material. | |
| TObjectPtr< UMaterial > | PreviewMaterial | ||
| TSharedPtr< IPropertyHandle > | PropertyHandle | ||
| TSharedPtr< IPropertyRowGenerator > | PropertyRowGenerator | ||
| EDMValueType | Type |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDMMaterialValue
(
EDMValueType InType |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Subclasses should implement a SetDefaultValue. | ||
| void | BeginDestroy () |
||
| bool | CanResetToDefault
(
TSharedPtr< IPropertyHandle > InPropertyHandle |
||
| UDMMaterialValue * | CreateMaterialValue
(
UDynamicMaterialModel* InMaterialModel, |
||
| void | |||
| void | |||
| FText | |||
| TSharedPtr< IDetailTreeNode > | |||
| int32 | GetInnateMaskOutput
(
int32 OutputChannels |
Returns the output index (channel WHOLE_CHANNEL) if this expression has pre-masked outputs. | |
| FName | |||
| UDynamicMaterialModel * | |||
| UMaterial * | |||
| TSharedPtr< IPropertyHandle > | |||
| EDMValueType | GetType () |
||
| FText | GetTypeName () |
||
| bool | |||
| bool | Return true if, when setting the base stage, the same value should be applied to the mask stage. | ||
| void | OnValueUpdated
(
bool bInForceStructureUpdate |
||
| void | |||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | |||
| void | PostEditUndo () |
||
| void | SetMIDParameter
(
UMaterialInstanceDynamic* InMID |
||
| void ResetDefaultValue() PURE_VIRTUAL(UDMMaterialValue bool | SetParameterName
(
FName InBaseName |
Resets to the default default value. 0, nullptr, etc. | |
| void |
Overridden from UDMMaterialComponent
| Type | Name | Description | |
|---|---|---|---|
| void | DoClean () |
Performs whatever operation is involved in cleaning this component. | |
| UDMMaterialComponent * | GetSubComponentByPath
(
FDMComponentPath& InPath, |
||
| bool | Modify
(
bool bInAlwaysMarkDirty |
||
| void | |||
| void | PostEditorDuplicate
(
UDynamicMaterialModel* InMaterialModel, |
||
| void | PostLoad () |
||
| void | Update
(
EDMUpdateType InUpdateType |
Constants
| Name | Description |
|---|---|
| ParameterNamePrefix | |
| ParameterPathToken | |
| TypeClasses | |
| ValueName |