AnyCAD Rapid API 2024
Help you to create a better world!
载入中...
搜索中...
未找到
Scene类 参考
类 Scene 继承关系图:
GfxObject

Public 成员函数

AABox GetWorldBBox ()
 
Matrix4 GetWorldTransform ()
 
void SetWorldTransform (Matrix4 val)
 
boolean GetPickable ()
 
void SetPickable (boolean val)
 
java.math.BigInteger GetUserId ()
 
void SetUserId (java.math.BigInteger val)
 
SceneNodeIterator CreateIterator ()
 
java.math.BigInteger AddNode (SceneNode node)
 
boolean RemoveNode (java.math.BigInteger nodeId)
 
boolean RemoveNodeById (java.math.BigInteger nodeId)
 
boolean RemoveNode (SceneNode node)
 
boolean RemoveNodeByNode (SceneNode node)
 
SceneNode FindNode (java.math.BigInteger nodeId)
 
SceneNode FindNodeByUserId (java.math.BigInteger userId)
 
void Clear ()
 
void UpdateWorld (Matrix4 viewScale)
 
- Public 成员函数 继承自 GfxObject
long GetUuid ()
 

静态 Public 成员函数

static Scene Cast (GfxObject obj)
 

详细描述

<>
The container to manage the SceneNode.

成员函数说明

◆ AddNode()

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

Add new scene node to show.

参数
nodethe node.
返回
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.

返回
the SceneNodeIterator

◆ FindNode()

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

Find the node by Uuid of the node.

参数
nodeIdthe Uuid
返回
the node.

◆ FindNodeByUserId()

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

Find the node by UserId of the node.

参数
userIdthe userId
返回
the node.

◆ RemoveNode() [1/2]

boolean Scene.RemoveNode ( java.math.BigInteger nodeId)

删除Node

参数
nodeIdUuid
返回
是否成功

◆ RemoveNode() [2/2]

boolean Scene.RemoveNode ( SceneNode node)

删除Node

参数
node节点
返回
是否成功

◆ UpdateWorld()

void Scene.UpdateWorld ( Matrix4 viewScale)

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