unreal.AvaShapeMeshData

class unreal.AvaShapeMeshData(mesh_visible: bool = False, material_type: MaterialType = Ellipsis, material: MaterialInterface = Ellipsis, parametric_material: AvaShapeParametricMaterial = Ellipsis, override_primary_uv_params: bool = False, material_uv_params: AvaShapeMaterialUVParameters = Ellipsis)

Bases: StructBase

Represents a mesh section with its material, uv data

C++ Source:

  • Plugin: Avalanche

  • Module: AvalancheShapes

  • File: AvaShapeMesh.h

Editor Properties: (see get_editor_property/set_editor_property)

  • material (MaterialInterface): [Read-Write] mesh material

  • material_type (MaterialType): [Read-Write] mesh material type

  • material_uv_params (AvaShapeMaterialUVParameters): [Read-Write] mesh material UV params

  • mesh_visible (bool): [Read-Write] whether the mesh is currently visible or not and should be editable

  • override_primary_uv_params (bool): [Read-Write] mesh uses same uv params as primary

  • parametric_material (AvaShapeParametricMaterial): [Read-Write] parametric material settings

property material: MaterialInterface

[Read-Write] mesh material

Type:

(MaterialInterface)

property material_type: MaterialType

[Read-Write] mesh material type

Type:

(MaterialType)

property material_uv_params: AvaShapeMaterialUVParameters

[Read-Write] mesh material UV params

Type:

(AvaShapeMaterialUVParameters)

property mesh_visible: bool

[Read-Only] whether the mesh is currently visible or not and should be editable

Type:

(bool)

property override_primary_uv_params: bool

[Read-Write] mesh uses same uv params as primary

Type:

(bool)

property parametric_material: AvaShapeParametricMaterial

[Read-Write] parametric material settings

Type:

(AvaShapeParametricMaterial)