unreal.DMMaterialValueColorAtlas

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

Bases: DMMaterialValue

Component representing a color atlas value. Manages its own parameter.

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterial

  • File: DMMaterialValueColorAtlas.h

Editor Properties: (see get_editor_property/set_editor_property)

  • atlas (CurveLinearColorAtlas): [Read-Write]

  • cached_parameter_name (Name): [Read-Only]

  • component_dirty (bool): [Read-Only]

  • component_state (DMComponentLifetimeState): [Read-Only]

  • curve (CurveLinearColor): [Read-Write]

  • default_value (float): [Read-Write]

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

  • expose_parameter (bool): [Read-Only]

  • local (bool): [Read-Only] True: The value is local to the stage it is used in. False: The value is a global value owned directly by the Model.

  • parameter (DMMaterialParameter): [Read-Only] The parameter name used to expose this value in a material. If it isn’t provided, an automatic name will be generated.

  • type (DMValueType): [Read-Only]

  • value (float): [Read-Write]

property atlas: CurveLinearColorAtlas

[Read-Write]

Type:

(CurveLinearColorAtlas)

property curve: CurveLinearColor

[Read-Write]

Type:

(CurveLinearColor)

property default_value: float

[Read-Write]

Type:

(float)

get_atlas() CurveLinearColorAtlas

Get Atlas

Return type:

CurveLinearColorAtlas

get_curve() CurveLinearColor

Get Curve

Return type:

CurveLinearColor

get_default_value() float

Get Default Value

Return type:

float

get_value() float

Get Value

Return type:

float

set_atlas(atlas) None

Set Atlas

Parameters:

atlas (CurveLinearColorAtlas)

set_curve(curve) None

Set Curve

Parameters:

curve (CurveLinearColor)

set_default_value(default_value) None

Set Default Value

Parameters:

default_value (float)

set_value(value) None

Set Value

Parameters:

value (float)

property value: float

[Read-Write]

Type:

(float)