unreal.DMMaterialComponent¶
- class unreal.DMMaterialComponent(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectThe 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_state: DMComponentLifetimeState¶
[Read-Only]
- Type:
- get_component_by_path(path) DMMaterialComponent¶
Get Component by Path
- Parameters:
path (str) –
- Return type:
- get_component_state() DMComponentLifetimeState¶
Get Component State
- Return type:
- get_parent_component() DMMaterialComponent¶
Get Parent Component
- Return type:
- get_typed_parent(parent_class, allow_subclasses) DMMaterialComponent¶
Get Typed Parent
- Parameters:
- Return type:
- set_component_state(new_state) None¶
Set Component State
- Parameters:
new_state (DMComponentLifetimeState) –
- update(update_type) None¶
Update
- Parameters:
update_type (DMUpdateType) –