VertexColors(bpy_struct)

base class — bpy_struct

class bpy.types.VertexColors(bpy_struct)

Collection of vertex colors

active

Active vertex color layer

Type:MeshColorLayer, (readonly)
active_index

Active vertex color index

Type:int in [0, inf], default 0
new(name="Col")

Add a vertex color layer to Mesh

Parameters:name (string, (optional, never None)) – Vertex color name
Returns:The newly created layer
Return type:MeshColorLayer
classmethod bl_rna_get_subclass(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The RNA type or default when not found.
Return type:bpy.types.Struct subclass
classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The class or default when not found.
Return type:type

Inherited Properties

Inherited Functions

References