Cluster.HasStaticKinematicState operator

説明

クラスタに基本ポーズがある場合は、True を戻します。基本ポーズは、StaticKinematicStateプロパティで表わされます。

スクリプト 構文

oBoolean = Cluster.HasStaticKinematicState();

戻り値

Boolean

VBScript の例

set oCone = Application.ActiveProject.ActiveScene.Root.AddGeometry("Cone","MeshSurface")
set oCluster = oCone.ActivePrimitive.Geometry.AddCluster( siVertexCluster,"MyCluster",Array(3,1))
SelectObj oCluster.FullName
Translate , 0.000, 4.000, 0.000, siAbsolute, siView, siObj, siY
if oCluster.HasStaticKinematicState then
                logmessage "The cluster possess some Static KinematicState properties."
else
logmessage "The cluster does not possess any Static KinematicState properties."
end if

関連項目

StaticKinematicState Cluster.GetStaticKinematicStates