VertexCollection.CreaseArray operator

導入

v3.5.1

説明

このコレクション内のすべての Vertex オブジェクトの Vertex.Crease 値の Array を戻します。クリース値は 0 ~10.0 までの範囲になります。

C#構文

// get accessor

Object rtn = VertexCollection.CreaseArray;

VBScript の例

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

関連項目

Vertex.Crease