unreal.DNAMeshVertexColorDataAsset

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

Bases: DataAsset

DNAMesh Vertex Color Data Asset

C++ Source:

  • Plugin: MetaHumanSDK

  • Module: InterchangeDNA

  • File: MetaHumanDNAImportColorMap.h

Editor Properties: (see get_editor_property/set_editor_property)

  • mesh_color_entries (Array[MeshVertexColorData]): [Read-Write]

get_color_by_mesh_and_index(mesh_name, vertex_id) LinearColor

Get Color by Mesh and Index

Parameters:
  • mesh_name (str)

  • vertex_id (int32)

Return type:

LinearColor

property mesh_color_entries: None

[Read-Write]

Type:

(Array[MeshVertexColorData])