v1.0
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.
olist = CreateVertexColorSupport( PresetObj, [PropertyName], [InputObjs] ); |
Returns a list of created vertex color ClusterPropertys.
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"
|
||||
PropertyName | String |
Name of the vertex color property Default Value: "Vertex_Color" |
||||
InputObjs | String |
List of objects or vertex clusters Default Value: Current selection |
dim sphere set sphere = CreatePrim ( "Sphere", "MeshSurface" ) CreateVertexColorSupport , "MyVertexColorProperty", sphere |