Navigation
API > API/Plugins > API/Plugins/DynamicMaterial > API/Plugins/DynamicMaterial/Components > API/Plugins/DynamicMaterial/Components/MaterialValues
Inheritance Hierarchy
- UObject
- FNotifyHook
- UDMMaterialComponent
- UDMMaterialLinkedComponent
- UDMMaterialValue
- UDMMaterialValueTexture
- UDMMaterialValueRenderTarget
References
| Module | DynamicMaterial |
| Header | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterial/Public/Components/MaterialValues/DMMaterialValueTexture.h |
| Include | #include "Components/MaterialValues/DMMaterialValueTexture.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup="Material Designer")
class UDMMaterialValueTexture : public UDMMaterialValue
Remarks
Component representing a texture value. Manages its own parameter.
Variables
| Type | Name | Description | |
|---|---|---|---|
| meta | |||
| TObjectPtr< UTexture > | OldValue | Used for PostEditChangeProperty |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UDMMaterialValueTexture * | CreateMaterialValueTexture
(
UObject* InOuter, |
||
| void | GenerateExpression
(
const TSharedRef< IDMMaterialBuildStateInterface >& InBuildState |
||
| UTexture * | |||
| UTexture * | GetValue () |
||
| bool | HasAlpha () |
Return true if the texture value has an alpha channel. | |
| void | PreEditChange
(
FProperty* InPropertyAboutToChange |
||
| void | |||
| void | SetDefaultValue
(
UTexture* InDefaultValue |
||
| void | SetMIDParameter
(
UMaterialInstanceDynamic* InMID |
||
| void | SetValue
(
UTexture* InValue |
||
| UDMMaterialValueDynamic * | ToDynamic
(
UDynamicMaterialModelDynamic* InMaterialModelDynamic |
Overridden from UDMMaterialValue
| Type | Name | Description | |
|---|---|---|---|
| void | Subclasses should implement a SetDefaultValue. | ||
| bool | |||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Overridden from UDMMaterialComponent
| Type | Name | Description | |
|---|---|---|---|
| FText | Returns a description of this class/object. | ||
| FString | Returns the part of the component representing just this object | ||
| void | PostLoad () |
Overridden from IDMJsonSerializable
| Type | Name | Description | |
|---|---|---|---|
| bool | JsonDeserialize
(
const TSharedPtr< FJsonValue >& InJsonValue |
||
| TSharedPtr< FJsonValue > | Non-editor implementation. |
Constants
| Name | Description |
|---|---|
| GetDefaultRGBTexture |