unreal.DMMaterialEffect¶
- class unreal.DMMaterialEffect(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DMMaterialComponentDMMaterial Effect
C++ Source:
Plugin: DynamicMaterial
Module: DynamicMaterialEditor
File: DMMaterialEffect.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]effect_target(DMMaterialEffectTarget): [Read-Only]enabled(bool): [Read-Only]
- classmethod create_effect(effect_stack, effect_class) DMMaterialEffect¶
Create Effect
- Parameters:
effect_stack (DMMaterialEffectStack)
- Return type:
- property effect_target: DMMaterialEffectTarget¶
[Read-Only]
- Type:
- find_index() int32¶
Retrieves the index of this effect in the effect stack.
- Return type:
int32
- get_effect_stack() DMMaterialEffectStack¶
Get Effect Stack
- Return type:
- get_effect_target() DMMaterialEffectTarget¶
Returns the type of nodes which this effect targets.
- Return type:
- classmethod stage_type_to_effect_type(stage_type) DMMaterialEffectTarget¶
Stage Type to Effect Type
- Parameters:
stage_type (DMMaterialLayerStage)
- Return type: