SubComponent.ClusterType

説明

現在の SubComponent のクラスタタイプと一致するClusterTypes定数から値を戻します。

C#構文

// get accessor

String rtn = SubComponent.ClusterType;

VBScript の例

NewScene , false

set oObject = Application.ActiveSceneRoot.AddGeometry("Cube","MeshSurface","MyCube")

set oSubComponent = oObject.ActivePrimitive.Geometry.CreateSubComponent(siVertexCluster, Array(3,4,5))

set oCluster = oSubComponent.CreateCluster()

if oCluster.Type = oSubComponent.ClusterType then

		Application.LogMessage "Same cluster type (" & oSubComponent.ClusterType & ")"

end if

' Expected results:

'INFO : Same cluster type (pnt)