Navigation
API > API/Plugins > API/Plugins/DynamicMaterial > API/Plugins/DynamicMaterial/Components
Inheritance Hierarchy
- UObject
- FNotifyHook
- UDMMaterialComponent
- UDMMaterialLinkedComponent
- UDMTextureUV
References
| Module | DynamicMaterial |
| Header | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterial/Public/Components/DMTextureUV.h |
| Include | #include "Components/DMTextureUV.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Texture UV"))
class UDMTextureUV : public UDMMaterialLinkedComponent
Remarks
Represents a Texture UV material function with the following parameters: offset, tiling, pivot and rotation.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLinkTiling | ||
| bool | bMirrorOnX_PreUndo | ||
| bool | bMirrorOnY_PreUndo | ||
| bool | bNeedsPostLoadStructureUpdate | ||
| bool | bNeedsPostLoadValueUpdate | ||
| TMap< int32, FName > | CachedParameterNames | ||
| TSet< int32 > | ExposedParameters | ||
| TMap< int32, TObjectPtr< UDMMaterialParameter > > | MaterialParameters | ||
| meta | |||
| FVector2D | Scale | ||
| EDMUVSource | UVSource_PreUndo |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDMTextureUV () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UDMTextureUV * | CreateTextureUV
(
UObject* InOuter |
||
| FName | GenerateAutomaticParameterName
(
FName InPropertyName, |
Generates an automatic path name based on the component hierarchy | |
| FName | GenerateAutomaticPathComponent
(
FName InPropertyName, |
Generates an automatic path component based on the property name and component. | |
| UDynamicMaterialModel * | |||
| UDMMaterialParameter * | GetMaterialParameter
(
FName InPropertyName, |
||
| FName | GetMaterialParameterName
(
FName InPropertyName, |
||
| bool | GetMirrorOnX () |
||
| bool | GetMirrorOnY () |
||
| const FVector2D & | GetOffset () |
||
| EDMMaterialParameterGroup | GetParameterGroup
(
FName InPropertyName, |
||
| TArray< UDMMaterialParameter * > | |||
| const FVector2D & | GetPivot () |
||
| float | GetRotation () |
||
| bool | GetShouldExposeParameter
(
FName InPropertyName, |
||
| const FVector2D & | GetTiling () |
||
| EDMUVSource | GetUVSource () |
||
| void | OnTextureUVChanged
(
EDMUpdateType InUpdateType |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
||
| void | |||
| void | PostEditUndo () |
||
| void | PreEditUndo () |
||
| int32 | PropertyComponentToParamId
(
FName InPropertyName, |
||
| void | |||
| void | Serialize
(
FArchive& Ar |
||
| bool | SetMaterialParameterName
(
FName InPropertyName, |
||
| void | SetMIDParameters
(
UMaterialInstanceDynamic* InMID |
||
| void | SetMirrorOnX
(
bool bInMirrorOnX |
||
| void | SetMirrorOnY
(
bool bInMirrorOnY |
||
| void | SetOffset
(
const FVector2D& InOffset |
||
| void | SetPivot
(
const FVector2D& InPivot |
||
| void | SetRotation
(
float InRotation |
||
| void | SetShouldExposeParameter
(
FName InPropertyName, |
||
| void | SetTiling
(
const FVector2D& InTiling |
||
| void | SetUVSource
(
EDMUVSource InUVSource |
||
| UDMTextureUVDynamic * | ToDynamic
(
UDynamicMaterialModelDynamic* InMaterialModelDynamic |
||
| void | UpdateCachedParameterName
(
FName InPropertyName, |
Update an individual cached parameter name. | |
| void | UpdateCachedParameterNames
(
bool bInResetNames |
Updates the cached parameter name based on the Parameter object or the above method. |
Overridden from UDMMaterialComponent
| Type | Name | Description | |
|---|---|---|---|
| FString | Returns the part of the component representing just this object | ||
| void | GetComponentPathInternal
(
TArray< FString >& OutChildComponentPathComponents |
Allows this object to modify the child path when generating a path. | |
| UDMMaterialComponent * | GetSubComponentByPath
(
FDMComponentPath& InPath, |
Searches the component for a specific component based on a path. | |
| bool | Modify
(
bool bInAlwaysMarkDirty |
||
| void | Called when a component enters the Added state. | ||
| void | Called when a component enters the Removed state. | ||
| void | PostEditorDuplicate
(
UDynamicMaterialModel* InMaterialModel, |
Sets the parent component to the InParent parameter. | |
| void | PostLoad () |
||
| void | Update
(
UDMMaterialComponent* InSource, |
Event that is triggered when this component, or a sub-component, changes to trigger other updates in the model. |
Constants
| Name | Description |
|---|---|
| GUID | |
| NAME_bMirrorOnX | |
| NAME_bMirrorOnY | |
| NAME_Offset | |
| NAME_Pivot | |
| NAME_Rotation | |
| NAME_Tiling | |
| NAME_UVSource | |
| OffsetXPathToken | |
| OffsetYPathToken | |
| PivotXPathToken | |
| PivotYPathToken | |
| RotationPathToken | |
| TextureProperties | The bool is whether or not the property should be exposed to Sequencer as keyable. |
| TilingXPathToken | |
| TilingYPathToken |