LoopColors(bpy_struct)

base class — bpy_struct

class bpy.types.LoopColors(bpy_struct)

Collection of vertex colors

active

Active vertex color layer

Type:MeshLoopColorLayer
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:MeshLoopColorLayer
remove(layer)

Remove a vertex color layer

Parameters:layer (MeshLoopColorLayer, (never None)) – The layer to remove

Inherited Properties

Inherited Functions

References