Navigation
API > API/Plugins > API/Plugins/DynamicMaterial
Represents a Texture UV material function with the following parameters: offset, tiling, pivot and rotation.
| Name | UDMTextureUV |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterial/Public/Components/DMTextureUV.h |
| Include Path | #include "Components/DMTextureUV.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Texture UV"))
class UDMTextureUV :
public UDMMaterialLinkedComponent ,
public IDMParameterContainer
Inheritance Hierarchy
- FNotifyHook → UDMMaterialComponent → UDMMaterialLinkedComponent → UDMTextureUV
- UObjectBase → UObjectBaseUtility → UObject → UDMMaterialComponent → UDMMaterialLinkedComponent → UDMTextureUV
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDMTextureUV() |
Components/DMTextureUV.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| GUID | const FGuid | Components/DMTextureUV.h | |
| NAME_bMirrorOnX | const FName | Components/DMTextureUV.h | |
| NAME_bMirrorOnY | const FName | Components/DMTextureUV.h | |
| NAME_Offset | const FName | Components/DMTextureUV.h | |
| NAME_Pivot | const FName | Components/DMTextureUV.h | |
| NAME_Rotation | const FName | Components/DMTextureUV.h | |
| NAME_Tiling | const FName | Components/DMTextureUV.h | |
| NAME_UVSource | const FName | Components/DMTextureUV.h | |
| OffsetXPathToken | const FString | Components/DMTextureUV.h | |
| OffsetYPathToken | const FString | Components/DMTextureUV.h | |
| PivotXPathToken | const FString | Components/DMTextureUV.h | |
| PivotYPathToken | const FString | Components/DMTextureUV.h | |
| RotationPathToken | const FString | Components/DMTextureUV.h | |
| TextureProperties | const TMap< FName, bool > | The bool is whether or not the property should be exposed to Sequencer as keyable. | Components/DMTextureUV.h |
| TilingXPathToken | const FString | Components/DMTextureUV.h | |
| TilingYPathToken | const FString | Components/DMTextureUV.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bLinkTiling | bool | Components/DMTextureUV.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDynamicMaterialModel * GetMaterialModel() |
Components/DMTextureUV.h |
|
|
UDMMaterialParameter * GetMaterialParameter
(
FName InPropertyName, |
Components/DMTextureUV.h |
|
|
| Components/DMTextureUV.h |
|
||
bool GetMirrorOnX() |
Components/DMTextureUV.h |
|
|
bool GetMirrorOnY() |
Components/DMTextureUV.h |
|
|
const FVector2D & GetOffset() |
Components/DMTextureUV.h |
|
|
EDMMaterialParameterGroup GetParameterGroup
(
FName InPropertyName, |
Components/DMTextureUV.h | ||
TArray< UDMMaterialParameter * > GetParameters() |
Components/DMTextureUV.h |
|
|
const FVector2D & GetPivot() |
Components/DMTextureUV.h |
|
|
float GetRotation() |
Components/DMTextureUV.h |
|
|
bool GetShouldExposeParameter
(
FName InPropertyName, |
Components/DMTextureUV.h |
|
|
const FVector2D & GetTiling() |
Components/DMTextureUV.h |
|
|
EDMUVSource GetUVSource() |
Components/DMTextureUV.h |
|
|
| Components/DMTextureUV.h |
|
||
void SetMIDParameters
(
UMaterialInstanceDynamic* InMID |
Components/DMTextureUV.h | ||
void SetMirrorOnX
(
bool bInMirrorOnX |
Components/DMTextureUV.h |
|
|
void SetMirrorOnY
(
bool bInMirrorOnY |
Components/DMTextureUV.h |
|
|
void SetOffset
(
const FVector2D& InOffset |
Components/DMTextureUV.h |
|
|
void SetPivot
(
const FVector2D& InPivot |
Components/DMTextureUV.h |
|
|
void SetRotation
(
float InRotation |
Components/DMTextureUV.h |
|
|
void SetShouldExposeParameter
(
FName InPropertyName, |
Components/DMTextureUV.h |
|
|
void SetTiling
(
const FVector2D& InTiling |
Components/DMTextureUV.h |
|
|
void SetUVSource
(
EDMUVSource InUVSource |
Components/DMTextureUV.h |
|
|
UDMTextureUVDynamic * ToDynamic
(
UDynamicMaterialModelDynamic* InMaterialModelDynamic |
Components/DMTextureUV.h |
Overridden from UDMMaterialComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetComponentPathComponent() |
Returns the part of the component representing just this object | Components/DMTextureUV.h | |
virtual void PostEditorDuplicate
(
UDynamicMaterialModel* InMaterialModel, |
Sets the parent component to the InParent parameter. | Components/DMTextureUV.h | |
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/DMTextureUV.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Modify
(
bool bInAlwaysMarkDirty |
Components/DMTextureUV.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Components/DMTextureUV.h | ||
virtual void PostEditImport() |
Components/DMTextureUV.h | ||
virtual void PostEditUndo() |
Components/DMTextureUV.h | ||
virtual void PostLoad() |
Components/DMTextureUV.h | ||
virtual void PreEditUndo() |
Components/DMTextureUV.h | ||
virtual void Serialize
(
FArchive& Ar |
Components/DMTextureUV.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Generates an automatic path name based on the component hierarchy | Components/DMTextureUV.h | ||
| Generates an automatic path component based on the property name and component. | Components/DMTextureUV.h | ||
void OnTextureUVChanged
(
EDMUpdateType InUpdateType |
Components/DMTextureUV.h | ||
void RemoveParameterNames() |
Components/DMTextureUV.h | ||
void UpdateCachedParameterName
(
FName InPropertyName, |
Update an individual cached parameter name. | Components/DMTextureUV.h | |
void UpdateCachedParameterNames
(
bool bInResetNames |
Updates the cached parameter name based on the Parameter object or the above method. | Components/DMTextureUV.h |
Overridden from UDMMaterialComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Allows this object to modify the child path when generating a path. | Components/DMTextureUV.h | ||
virtual UDMMaterialComponent * GetSubComponentByPath
(
FDMComponentPath& InPath, |
Searches the component for a specific component based on a path. | Components/DMTextureUV.h | |
virtual void OnComponentAdded() |
Called when a component enters the Added state. | Components/DMTextureUV.h | |
virtual void OnComponentRemoved() |
Called when a component enters the Removed state. | Components/DMTextureUV.h |
Overridden from IDMParameterContainer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CopyParametersFrom_Implementation
(
UObject* InOther |
Components/DMTextureUV.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UDMTextureUV * CreateTextureUV
(
UObject* InOuter |
Components/DMTextureUV.h |
|
|
static int32 PropertyComponentToParamId
(
FName InPropertyName, |
Components/DMTextureUV.h |