unreal.DMTextureUV

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

Bases: DMMaterialLinkedComponent

DMTexture UV

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterial

  • File: DMTextureUV.h

Editor Properties: (see get_editor_property/set_editor_property)

  • component_dirty (bool): [Read-Only]

  • component_state (DMComponentLifetimeState): [Read-Only]

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

  • link_scale (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 scale.

  • rotation (float): [Read-Write]

  • scale (Vector2D): [Read-Write]

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

get_material_model() DynamicMaterialModel

Get Material Model

Return type:

DynamicMaterialModel

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_pivot() Vector2D

Get Pivot

Return type:

Vector2D

get_rotation() float

Get Rotation

Return type:

float

get_scale() Vector2D

Get Scale

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 scale.

Type:

(Vector2D)

property rotation: float

[Read-Write]

Type:

(float)

property scale: Vector2D

[Read-Write]

Type:

(Vector2D)

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_scale(scale) None

Set Scale

Parameters:

scale (Vector2D) –

set_uv_source(uv_source) None

Set UVSource

Parameters:

uv_source (DMUVSource) –

property uv_source: DMUVSource

[Read-Write] Forces a material rebuild.

Type:

(DMUVSource)