unreal.DMMaterialComponent

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

Bases: Object

The base class for all material components. Has a few useful things.

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterial

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

property component_dirty: bool

[Read-Only]

Type:

(bool)

property component_state: DMComponentLifetimeState

[Read-Only]

Type:

(DMComponentLifetimeState)

property editable_properties: None

[Read-Only]

Type:

(Array[Name])

get_component_by_path(path) DMMaterialComponent

Get Component by Path

Parameters:

path (str) –

Return type:

DMMaterialComponent

get_component_description() Text

Returns a description of this class/object.

Return type:

Text

get_component_path() str

Returns the complete path from the model to this component.

Return type:

str

get_component_state() DMComponentLifetimeState

Get Component State

Return type:

DMComponentLifetimeState

get_editable_properties() Array[Name]

End FNotifyHook

Return type:

Array[Name]

get_outer_safe() Object

Get Outer Safe

Return type:

Object

get_parent_component() DMMaterialComponent

Get Parent Component

Return type:

DMMaterialComponent

get_typed_parent(parent_class, allow_subclasses) DMMaterialComponent

Get Typed Parent

Parameters:
Return type:

DMMaterialComponent

has_component_been_added() bool

Has Component Been Added

Return type:

bool

has_component_been_created() bool

Has Component Been Created

Return type:

bool

has_component_been_removed() bool

Has Component Been Removed

Return type:

bool

is_component_added() bool

Is Component Added

Return type:

bool

is_component_created() bool

Is Component Created

Return type:

bool

is_component_removed() bool

Is Component Removed

Return type:

bool

is_component_valid() bool

Checks object flags and IsValid()

Return type:

bool

is_property_visible(property_) bool

Is Property Visible

Parameters:

property (Name) –

Return type:

bool

is_root_component() bool

Is Root Component

Return type:

bool

set_component_state(new_state) None

Set Component State

Parameters:

new_state (DMComponentLifetimeState) –

update(update_type) None

Update

Parameters:

update_type (DMUpdateType) –