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