unreal.StaticMaterial

class unreal.StaticMaterial(material_interface: MaterialInterface = Ellipsis, material_slot_name: Name = 'None', uv_channel_data: MeshUVChannelInfo = [])

Bases: StructBase

Static Material

C++ Source:

  • Module: Engine

  • File: StaticMesh.h

Editor Properties: (see get_editor_property/set_editor_property)

  • imported_material_slot_name (Name): [Read-Only] Imported Material Slot Name: This name should be use when we re-import a skeletal mesh so we can order the Materials array like it should be

  • material_interface (MaterialInterface): [Read-Write] Material Interface

  • material_slot_name (Name): [Read-Write] Material Slot Name: This name should be use by the gameplay to avoid error if the skeletal mesh Materials array topology change

  • uv_channel_data (MeshUVChannelInfo): [Read-Only] UVChannel Data: Data used for texture streaming relative to each UV channels.

property material_interface: MaterialInterface

[Read-Write] Material Interface

Type:

(MaterialInterface)

property material_slot_name: Name

[Read-Write] Material Slot Name: This name should be use by the gameplay to avoid error if the skeletal mesh Materials array topology change

Type:

(Name)

property uv_channel_data: MeshUVChannelInfo

[Read-Only] UVChannel Data: Data used for texture streaming relative to each UV channels.

Type:

(MeshUVChannelInfo)