VertexCollection.CreaseArray operator

Introduced

v3.5.1

Description

Returns an Array of Vertex.Crease values for all Vertex objects in this collection. The crease value will be between 0 and 10.0 inclusively.

C# Syntax

// get accessor
Object rtn = VertexCollection.CreaseArray;

Examples

VBScript Example

NewScene ,false
set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
SetSelFilter "Point"
AddToSelection "cube.pnt[6,1]", , True
ApplyOp "SetEdgeCreaseValueOp", "cube.pnt[6,1]", 3, siPersistentOperation
SetValue "cube.polymsh.SetEdgeCreaseValue.CreaseValue", 4.424
aCreases = oCube.ActivePrimitive.Geometry.Vertices.CreaseArray
for i = 0 to ubound(aCreases)
	logmessage "Vertex of index : " & i & " as a crease value of " & aCreases(i)
next

See Also

Vertex.Crease