unreal.DynamicMaterialModelEditorOnlyData¶
- class unreal.DynamicMaterialModelEditorOnlyData(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectDynamic Material Model Editor Only Data
C++ Source:
Plugin: DynamicMaterial
Module: DynamicMaterialEditor
File: DynamicMaterialModelEditorOnlyData.h
Editor Properties: (see get_editor_property/set_editor_property)
blend_mode(BlendMode): [Read-Write]create_material_package(bool): [Read-Only]domain(MaterialDomain): [Read-Write]expressions(Array[MaterialExpression]): [Read-Only]material_model(DynamicMaterialModel): [Read-Only]pixel_animation_flag(bool): [Read-Only]properties(Map[DMMaterialPropertyType, DMMaterialProperty]): [Read-Only]property_slot_map(Map[DMMaterialPropertyType, DMMaterialSlot]): [Read-Only]shading_model(DMMaterialShadingModel): [Read-Write]slots(Array[DMMaterialSlot]): [Read-Only]state(DMState): [Read-Only]
- add_slot() DMMaterialSlot¶
Add Slot
- Return type:
- assign_material_property_to_slot(property_, slot) None¶
Assign Material Property to Slot
- Parameters:
property (DMMaterialPropertyType) –
slot (DMMaterialSlot) –
- property domain: MaterialDomain¶
[Read-Only]
- Type:
- get_domain() MaterialDomain¶
Get Domain
- Return type:
- get_material_model() DynamicMaterialModel¶
Get Material Model
- Return type:
- get_material_properties() Map[DMMaterialPropertyType, DMMaterialProperty]¶
Get Material Properties
- Return type:
- get_material_properties_for_slot(slot) Array[DMMaterialPropertyType]¶
Get Material Properties for Slot
- Parameters:
slot (DMMaterialSlot) –
- Return type:
- get_material_property(material_property) DMMaterialProperty¶
Get Material Property
- Parameters:
material_property (DMMaterialPropertyType) –
- Return type:
- get_shading_model() DMMaterialShadingModel¶
Get Shading Model
- Return type:
- get_slot(index) DMMaterialSlot¶
Get Slot
- Parameters:
index (int32) –
- Return type:
- get_slot_for_material_property(property_) DMMaterialSlot¶
Get Slot for Material Property
- Parameters:
property (DMMaterialPropertyType) –
- Return type:
- get_slots() Array[DMMaterialSlot]¶
Get Slots
- Return type:
- property material_model: DynamicMaterialModel¶
[Read-Only]
- Type:
- set_domain(domain) None¶
Set Domain
- Parameters:
domain (MaterialDomain) –
- set_shading_model(shading_model) None¶
Set Shading Model
- Parameters:
shading_model (DMMaterialShadingModel) –
- property shading_model: DMMaterialShadingModel¶
[Read-Only]
- Type:
- unassign_material_property(property_) None¶
Unassign Material Property
- Parameters:
property (DMMaterialPropertyType) –