## CreateVertexColorSupport

### Introduced

v1.0

### Description

Adds vertex color support to an object. This command creates a sample point cluster (polygonnode cluster for mesh geometries) and a vertex color property that contains color values for all sample points in the object's geometry.

### Scripting Syntax

    olist = CreateVertexColorSupport( PresetObj, [PropertyName], [InputObjs] );

### Return Value

Returns a list of created vertex color ClusterPropertys.

### Parameters

Parameter | Type | Description
--- | --- | ---
PresetObj | String or a preset object (see SIGetPreset) | This argument is ignored: a Vertex_Color property is always applied. Default Value: "Vertex_Color"
Possible Values: | Description:
Vertex_Color | Vertex Color Support property
PropertyName | String | Name of the vertex color property Default Value: "Vertex_Color"
InputObjs | String | List of objects or vertex clusters Default Value: Current selection

### Examples

#### VBScript Example

    dim sphere
    set sphere = CreatePrim ( "Sphere", "MeshSurface" )
    CreateVertexColorSupport , "MyVertexColorProperty", sphere

### See Also

Cluster ClusterProperty PolygonMesh.AddVertexColor