SubComponent.CreateCluster

説明

SubComponent のサブエレメントを含むClusterを作成します。

C#構文

Cluster SubComponent.CreateCluster( String in_name );

スクリプト構文

SubComponent.CreateCluster( Name );

パラメータ

パラメータ タイプ 説明
Name String 作成するクラスタの名前

VBScript の例

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 "Expected Result"

end if