unreal.DMMaterialValueBool

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

Bases: DMMaterialValue

Component representing a bool value. Manages its own parameter.

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterial

  • File: DMMaterialValueBool.h

Editor Properties: (see get_editor_property/set_editor_property)

  • cached_parameter_name (Name): [Read-Only]

  • component_dirty (bool): [Read-Only]

  • component_state (DMComponentLifetimeState): [Read-Only]

  • default_value (bool): [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 (bool): [Read-Write]

property default_value: bool

[Read-Write]

Type:

(bool)

get_default_value() bool

Get Default Value

Return type:

bool

get_value() bool

Get Value

Return type:

bool

set_default_value(default_value) None

Set Default Value

Parameters:

default_value (bool)

set_value(value) None

Set Value

Parameters:

value (bool)

property value: bool

[Read-Write]

Type:

(bool)