Edge.Crease

Edge.Crease operator

導入

v3.5.1

説明

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

C#構文

// get accessor

Double rtn = Edge.Crease;

VBScript の例

NewScene ,false

CreatePrim "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

for each  edge in selection(0).CreateSubComponent.ComponentCollection

	logmessage "Edge of index : " & edge.index & " as a crease value of " & edge.crease

next