X3DObject.HasStaticKinematicState operator


Returns true if the object has a base pose. The base pose is represented by a StaticKinematicState property.

C# Syntax

Boolean X3DObject.HasStaticKinematicState();

Scripting Syntax

oBoolean = X3DObject.HasStaticKinematicState();

Return Value



VBScript Example

NewScene , false
set oRoot = Application.ActiveProject.ActiveScene.Root
set oNull = oRoot.AddPrimitive( "Null","MyNull")
oNull.Kinematics.Global.Parameters("posy").Value = 6.0
set oCube = oRoot.AddGeometry("Cube","MeshSurface")
set oEnv = oCube.ApplyEnvelope(oNull)
if oCube.HasStaticKinematicState then
	Application.LogMessage "The X3DObject has a StaticKinematicState property."
	Application.LogMessage "The X3DObject does not have a StaticKinematicState property."
end if
' Expected results:
'INFO : The X3DObject has a StaticKinematicState property.

See Also

StaticKinematicState X3DObject.GetStaticKinematicState