Navigation
API > API/Plugins > API/Plugins/DynamicMaterial > API/Plugins/DynamicMaterial/Components
Inheritance Hierarchy
- UObject
- FNotifyHook
- UDMMaterialComponent
- UDMMaterialComponentDynamic
- UDMTextureUVDynamic
References
| Module | DynamicMaterial |
| Header | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterial/Public/Components/DMTextureUVDynamic.h |
| Include | #include "Components/DMTextureUVDynamic.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Texture UV Instance"))
class UDMTextureUVDynamic : public UDMMaterialComponentDynamic
Remarks
A texture uv used inside a instanced material instance. Links to the original texture uv in the parent material.
Variables
| Type | Name | Description | |
|---|---|---|---|
| meta |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CopyDynamicPropertiesTo
(
UDMMaterialComponent* InDestinationComponent |
||
| UDMTextureUVDynamic * | CreateTextureUVDynamic
(
UDynamicMaterialModelDynamic* InMaterialModelDynamic, |
Creates a new texture uv dynamic and initializes it with the model dynamic. | |
| const FVector2D & | GetOffset () |
Returns the dynamic value for this property. | |
| UDMTextureUV * | Resolves and returns the parent texture uv from the parent model. | ||
| const FVector2D & | GetPivot () |
Returns the dynamic value for this property. | |
| float | GetRotation () |
Returns the dynamic value for this property. | |
| const FVector2D & | GetTiling () |
Returns the dynamic value for this property. | |
| void | Called when any value in this texture uv changes. | ||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
||
| void | PostEditUndo () |
||
| void | SetMIDParameters
(
UMaterialInstanceDynamic* InMID |
Updates the given MID with the values of this texture uv. | |
| void | SetOffset
(
const FVector2D& InOffset |
Sets the dynamic value for this property. | |
| void | SetPivot
(
const FVector2D& InPivot |
Sets the dynamic value for this property. | |
| void | SetRotation
(
float InRotation |
Sets the dynamic value for this property. | |
| void | SetTiling
(
const FVector2D& InTiling |
Sets the dynamic value for this property. |
Overridden from UDMMaterialComponent
| Type | Name | Description | |
|---|---|---|---|
| void | Called when a component enters the Added state. | ||
| void | Update
(
UDMMaterialComponent* InSource, |
Event that is triggered when this component, or a sub-component, changes to trigger other updates in the model. |