AnyCAD Rapid API 2025
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) |
SceneNode | FindLeafNodeByUserId (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 | ) |
向场景中添加节点
node | 所添加的节点 |
void Scene.Clear | ( | ) |
清空场景中的所有节点
SceneNodeIterator Scene.CreateIterator | ( | ) |
创建迭代器以便利场景中的节点
SceneNode Scene.FindLeafNodeByUserId | ( | java.math.BigInteger | userId | ) |
在场景中搜索指定userId的叶子节点
userId | 叶子节点userId |
SceneNode Scene.FindNode | ( | java.math.BigInteger | nodeId | ) |
在场景中搜索指定uuid的节点
nodeId | 节点uuid |
SceneNode Scene.FindNodeByUserId | ( | java.math.BigInteger | userId | ) |
在场景中搜索指定userId的节点
userId | 节点userId |
boolean Scene.RemoveNode | ( | java.math.BigInteger | nodeId | ) |
从场景中删除指定uuid的节点
nodeId | 节点uuid |
boolean Scene.RemoveNode | ( | SceneNode | node | ) |
从场景中删除指定节点对象
node | 节点 |
void Scene.UpdateWorld | ( | Matrix4 | viewScale | ) |
Update the world transfom and bounding box of the scene nodes.