Vertex.Crease operator

導入

v3.5.1

説明

この頂点のクリース値を表すDoubleを戻します。クリース値は 0~10.0までの範囲になります。

VBScript の例

NewScene ,false
CreatePrim "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
for each vertex in selection(0).CreateSubComponent.ComponentCollection
         logmessage "Vertex of index : " & vertex.index & " as a crease value of " & vertex.crease
next