AnyCAD Rapid API 2024
Help you to create a better world!
|
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.
java.math.BigInteger Scene.AddNode | ( | SceneNode | node | ) |
Add new scene node to show.
node | the node. |
void Scene.Clear | ( | ) |
Clear all the nodes.
SceneNodeIterator Scene.CreateIterator | ( | ) |
Create iterator to get all the scene node.
SceneNode Scene.FindNode | ( | java.math.BigInteger | nodeId | ) |
Find the node by Uuid of the node.
nodeId | the Uuid |
SceneNode Scene.FindNodeByUserId | ( | java.math.BigInteger | userId | ) |
Find the node by UserId of the node.
userId | the userId |
boolean Scene.RemoveNode | ( | java.math.BigInteger | nodeId | ) |
删除Node
nodeId | Uuid |
boolean Scene.RemoveNode | ( | SceneNode | node | ) |
删除Node
node | 节点 |
void Scene.UpdateWorld | ( | Matrix4 | viewScale | ) |
Update the world transfom and bounding box of the scene nodes.