AnyCAD Rapid API 2023
Help you to create a better world!
Scene Class Reference
Inheritance diagram for Scene:
GfxObject

Public Member Functions

AxisAlignedBox GetWorldBBox ()
 
Matrix4 GetWorldTransform ()
 
void SetWorldTransform (Matrix4 val)
 
SceneNodeIterator CreateIterator ()
 
java.math.BigInteger AddNode (SceneNode node)
 
boolean RemoveNode (java.math.BigInteger nodeId)
 
SceneNode FindNode (java.math.BigInteger nodeId)
 
SceneNode FindNodeByUserId (java.math.BigInteger userId)
 
void Clear ()
 
void UpdateWorld ()
 
- Public Member Functions inherited from GfxObject
long GetUuid ()
 

Static Public Member Functions

static Scene Cast (GfxObject obj)
 

Detailed Description

<>
The container to manage the SceneNode.

Member Function Documentation

◆ AddNode()

java.math.BigInteger Scene.AddNode ( SceneNode  node)

Add new scene node to show.

Parameters
nodethe node.
Returns
return the uuid of the node.

◆ Clear()

void Scene.Clear ( )

Clear all the nodes.

◆ CreateIterator()

SceneNodeIterator Scene.CreateIterator ( )

Create iterator to get all the scene node.

Returns
the SceneNodeIterator

◆ FindNode()

SceneNode Scene.FindNode ( java.math.BigInteger  nodeId)

Find the node by Uuid of the node.

Parameters
nodeIdthe Uuid
Returns
the node.

◆ FindNodeByUserId()

SceneNode Scene.FindNodeByUserId ( java.math.BigInteger  userId)

Find the node by UserId of the node.

Parameters
userIdthe userId
Returns
the node.

◆ UpdateWorld()

void Scene.UpdateWorld ( )

Update the world transfom and bounding box of the scene nodes.