AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
String | GetName () |
void | SetName (String val) |
java.math.BigInteger | GetUserId () |
void | SetUserId (java.math.BigInteger val) |
java.math.BigInteger | GetParentId () |
void | SetParentId (java.math.BigInteger val) |
Matrix4d | GetTransform () |
AABox | GetBoundingBox () |
void | SetBoundingBox (AABox val) |
Matrix4d | GetWorldTransform () |
AABox | GetWorldBBox () |
long | GetState () |
SceneNode | GetParent () |
void | SetParent (SceneNode val) |
float | GetPickOrder () |
void | SetPickOrder (float val) |
long | GetUpdateVersion () |
void | SetUpdateVersion (long val) |
MaterialInstance | GetOverrideFaceMaterial () |
void | SetOverrideFaceMaterial (MaterialInstance val) |
MaterialInstance | GetOverrideEdgeMaterial () |
void | SetOverrideEdgeMaterial (MaterialInstance val) |
boolean | GetCastShadow () |
void | SetCastShadow (boolean bEnabled) |
boolean | GetPickable () |
void | SetPickable (boolean bEnabled) |
boolean | GetPickByBox () |
void | SetPickByBox (boolean bEnabled) |
boolean | GetCulling () |
void | SetCulling (boolean bEnabled) |
boolean | GetVisible () |
void | SetVisible (boolean bEnabled) |
boolean | GetChildrenPickable () |
void | SetChildrenPickable (boolean bEnabled) |
boolean | GetContainer () |
void | SetContainer (boolean bEnabled) |
boolean | GetFixedSize () |
void | SetFixedSize (boolean bEnabled) |
boolean | GetInfiniteSize () |
void | SetInfiniteSize (boolean bEnabled) |
boolean | GetPhysics () |
void | SetPhysics (boolean bEnabled) |
void | SetTransform (Matrix4d trf) |
SceneNode | GetRootNode () |
SceneNode | Clone () |
void | RequestUpdate () |
void | AddTransform (Matrix4d trf) |
void | SetWorldTransform (Matrix4d world) |
void | UpdateTransform (Matrix4d parent) |
AABox | ComputeBoundingBox (Matrix4d parent) |
boolean | IsVisiblePath () |
Public 成员函数 继承自 GfxObject | |
long | GetUuid () |
静态 Public 成员函数 | |
static SceneNode | Cast (GfxObject obj) |
<>
SceneNode用来表示场景中可绘制对象的节点.
void SceneNode.AddTransform | ( | Matrix4d | trf | ) |
multiply the transform to the existing one
trf | the transform to multiply. |
boolean SceneNode.GetCastShadow | ( | ) |
是否投射阴影
boolean SceneNode.GetChildrenPickable | ( | ) |
子节点是否可选
boolean SceneNode.GetContainer | ( | ) |
是否为根节点容器
boolean SceneNode.GetCulling | ( | ) |
是否参与场景剔除
boolean SceneNode.GetFixedSize | ( | ) |
是否屏幕固定大小,不随相机缩放而缩放
boolean SceneNode.GetInfiniteSize | ( | ) |
设置是否为无限大,无限大则不影响场景包围盒大小。
boolean SceneNode.GetPhysics | ( | ) |
是否参与物理引擎计算。默认为否
boolean SceneNode.GetPickable | ( | ) |
是否可被选
boolean SceneNode.GetPickByBox | ( | ) |
是否用包围盒选择,粗选
boolean SceneNode.GetVisible | ( | ) |
是否可见
void SceneNode.RequestUpdate | ( | ) |
请求更新
void SceneNode.SetCastShadow | ( | boolean | bEnabled | ) |
设置投射阴影
bEnabled | true |
void SceneNode.SetChildrenPickable | ( | boolean | bEnabled | ) |
设置子节点是否可选
bEnabled | true可选 |
void SceneNode.SetContainer | ( | boolean | bEnabled | ) |
设置是否为根节点容器
bEnabled | true是 |
void SceneNode.SetCulling | ( | boolean | bEnabled | ) |
设置是否可被剔除
bEnabled | true可以被剔除 |
void SceneNode.SetFixedSize | ( | boolean | bEnabled | ) |
设置相对屏幕显示固定大小
bEnabled | true固定大小 |
void SceneNode.SetInfiniteSize | ( | boolean | bEnabled | ) |
设置是否为无限大
bEnabled | true无限大。 |
void SceneNode.SetPhysics | ( | boolean | bEnabled | ) |
设置是否参与物理计算。
bEnabled | true则参与 |
void SceneNode.SetPickable | ( | boolean | bEnabled | ) |
设置是否可选
bEnabled | true可选 |
void SceneNode.SetPickByBox | ( | boolean | bEnabled | ) |
设置是否选择包围盒就算选中,不精确选择
bEnabled | true |
void SceneNode.SetTransform | ( | Matrix4d | trf | ) |
设置变换矩阵。覆盖之前的矩阵
trf | 矩阵。 |
void SceneNode.SetVisible | ( | boolean | bEnabled | ) |
设置可见性
bEnabled | true可见 |
void SceneNode.UpdateTransform | ( | Matrix4d | parent | ) |