unreal.DMTextureUVDynamic

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

Bases: DMMaterialComponentDynamic

A texture uv used inside a instanced material instance. Links to the original texture uv in the parent material.

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterial

  • File: DMTextureUVDynamic.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]

  • offset (Vector2D): [Read-Write]

  • parent_component_name (Name): [Read-Only]

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

  • rotation (float): [Read-Write]

  • tiling (Vector2D): [Read-Write]

copy_parameters_from(other) None

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

Parameters:

other (Object)

get_offset() Vector2D

Returns the dynamic value for this property.

Return type:

Vector2D

get_parent_texture_uv() DMTextureUV

Resolves and returns the parent texture uv from the parent model.

Return type:

DMTextureUV

get_pivot() Vector2D

Returns the dynamic value for this property.

Return type:

Vector2D

get_rotation() float

Returns the dynamic value for this property.

Return type:

float

get_tiling() Vector2D

Returns the dynamic value for this property.

Return type:

Vector2D

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_offset(offset) None

Sets the dynamic value for this property.

Parameters:

offset (Vector2D)

set_pivot(pivot) None

Sets the dynamic value for this property.

Parameters:

pivot (Vector2D)

set_rotation(rotation) None

Sets the dynamic value for this property.

Parameters:

rotation (float)

set_tiling(tiling) None

Sets the dynamic value for this property.

Parameters:

tiling (Vector2D)

property tiling: Vector2D

[Read-Write]

Type:

(Vector2D)