unreal.DMTextureUV¶
- class unreal.DMTextureUV(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DMMaterialLinkedComponentRepresents 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.
- 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:
- get_material_model() DynamicMaterialModel¶
Get Material Model
- Return type:
- get_material_parameter(property_name, component) DMMaterialParameter¶
Get Material Parameter
- Parameters:
property_name (Name)
component (int32)
- Return type:
- get_parameters() Array[DMMaterialParameter]¶
Get Parameters
- Return type:
- get_uv_source() DMUVSource¶
Get UVSource
- Return type:
- property material_parameters: None¶
[Read-Only]
- Type:
(Map[int32, DMMaterialParameter])
- set_uv_source(uv_source) None¶
Set UVSource
- Parameters:
uv_source (DMUVSource)
- property uv_source: DMUVSource¶
[Read-Write] Forces a material rebuild.
- Type: