unreal.DynamicMaterialModelBase

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

Bases: Object

Base version of a dynamic material model.

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterial

  • File: DynamicMaterialModelBase.h

get_dynamic_material_instance() DynamicMaterialInstance

Returns the Material Designer Material that contains this Model, if there is one.

Return type:

DynamicMaterialInstance

get_generated_material() Material

Returns the UMaterial from the resolved Material Model.

Return type:

Material

resolve_material_model() DynamicMaterialModel

Returns the Material Designer Model that is the base for this Model. It will be this object for a Model. It will be the parent Model for a Model Instance.

Return type:

DynamicMaterialModel