EdgeCollection.CreaseArray operator

導入

v3.5.1

説明

コレクション内の各 Edge オブジェクトの Edge.CreaseArray を戻します。

C#構文

// get accessor

Object rtn = EdgeCollection.CreaseArray;

VBScript の例

NewScene ,false

set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")

SetSelFilter "Edge"

SelectGeometryComponents "cube.edge[7,8,LAST]"

ApplyOp "SetEdgeCreaseValueOp", "cube.edge[7,8,LAST]", 3, siPersistentOperation

SetValue "cube.polymsh.SetEdgeCreaseValue.CreaseValue", 4.606

aCreases = oCube.ActivePrimitive.Geometry.Edges.CreaseArray

for i = 0 to ubound(aCreases)

	logmessage "Edge of index : " & i & " as a crease value of " & aCreases(i)

next