unreal.DMTextureUV

class unreal.DMTextureUV(outer: Object | None = None, name: Name | str = 'None')

Bases: DMMaterialLinkedComponent

  • Represents a Texture UV material function with the following parameters: offset, tiling, pivot and rotation.

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterial

  • File: DMTextureUV.h

Editor Properties: (see get_editor_property/set_editor_property)

  • cached_parameter_names (Map[int32, Name]): [Read-Only]

  • component_dirty (bool): [Read-Only]

  • component_state (DMComponentLifetimeState): [Read-Only]

  • editable_properties (Array[Name]): [Read-Only]

  • exposed_parameters (Set[int32]): [Read-Only]

  • link_tiling (bool): [Read-Write]

  • material_parameters (Map[int32, DMMaterialParameter]): [Read-Only]

  • mirror_on_x (bool): [Read-Write] Forces a material rebuild.

  • mirror_on_y (bool): [Read-Write] Forces a material rebuild.

  • offset (Vector2D): [Read-Write]

  • pivot (Vector2D): [Read-Write] Pivot for rotation and tiling.

  • rotation (float): [Read-Write]

  • tiling (Vector2D): [Read-Write]

  • uv_source (DMUVSource): [Read-Write] Forces a material rebuild.

property cached_parameter_names: None

[Read-Only]

Type:

(Map[int32, Name])

copy_parameters_from(other) None

Copies the parameter-based value of the given value to this value, if possible.

Parameters:

other (Object)

classmethod create_texture_uv(outer) DMTextureUV

Create Texture UV

Parameters:

outer (Object)

Return type:

DMTextureUV

property exposed_parameters: None

[Read-Only]

Type:

(Set[int32])

get_material_model() DynamicMaterialModel

Get Material Model

Return type:

DynamicMaterialModel

get_material_parameter(property_name, component) DMMaterialParameter

Get Material Parameter

Parameters:
  • property_name (Name)

  • component (int32)

Return type:

DMMaterialParameter

get_material_parameter_name(property_name, component) Name

Get Material Parameter Name

Parameters:
  • property_name (Name)

  • component (int32)

Return type:

Name

get_mirror_on_x() bool

Get Mirror on X

Return type:

bool

get_mirror_on_y() bool

Get Mirror on Y

Return type:

bool

get_offset() Vector2D

Get Offset

Return type:

Vector2D

get_parameters() Array[DMMaterialParameter]

Get Parameters

Return type:

Array[DMMaterialParameter]

get_pivot() Vector2D

Get Pivot

Return type:

Vector2D

get_rotation() float

Get Rotation

Return type:

float

get_should_expose_parameter(property_name, component) bool

Get Should Expose Parameter

Parameters:
  • property_name (Name)

  • component (int32)

Return type:

bool

get_tiling() Vector2D

Get Tiling

Return type:

Vector2D

get_uv_source() DMUVSource

Get UVSource

Return type:

DMUVSource

[Read-Write]

Type:

(bool)

property material_parameters: None

[Read-Only]

Type:

(Map[int32, DMMaterialParameter])

property mirror_on_x: bool

[Read-Write] Forces a material rebuild.

Type:

(bool)

property mirror_on_y: bool

[Read-Write] Forces a material rebuild.

Type:

(bool)

property offset: Vector2D

[Read-Write]

Type:

(Vector2D)

property pivot: Vector2D

[Read-Write] Pivot for rotation and tiling.

Type:

(Vector2D)

property rotation: float

[Read-Write]

Type:

(float)

set_material_parameter_name(property_name, component, new_name) bool

Set Material Parameter Name

Parameters:
  • property_name (Name)

  • component (int32)

  • new_name (Name)

Return type:

bool

set_mirror_on_x(mirror_on_x) None

Set Mirror on X

Parameters:

mirror_on_x (bool)

set_mirror_on_y(mirror_on_y) None

Set Mirror on Y

Parameters:

mirror_on_y (bool)

set_offset(offset) None

Set Offset

Parameters:

offset (Vector2D)

set_pivot(pivot) None

Set Pivot

Parameters:

pivot (Vector2D)

set_rotation(rotation) None

Set Rotation

Parameters:

rotation (float)

set_should_expose_parameter(property_name, component, expose) None

Set Should Expose Parameter

Parameters:
  • property_name (Name)

  • component (int32)

  • expose (bool)

set_tiling(tiling) None

Set Tiling

Parameters:

tiling (Vector2D)

set_uv_source(uv_source) None

Set UVSource

Parameters:

uv_source (DMUVSource)

property tiling: Vector2D

[Read-Write]

Type:

(Vector2D)

property uv_source: DMUVSource

[Read-Write] Forces a material rebuild.

Type:

(DMUVSource)