SubComponent のサブエレメントを含むClusterを作成します。
SubComponent.CreateCluster( Name ); |
| パラメータ | タイプ | 詳細 |
|---|---|---|
| Name | String | 作成するクラスタの名前 |
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
|