AnyCAD Rapid API 2023
Help you to create a better world!
载入中...
搜索中...
未找到
SceneNode类 参考
类 SceneNode 继承关系图:
GfxObject GeneralSceneNode GroupSceneNode PrimitiveSceneNode SceneNode2D ShapeSceneNode AxWidget AxisWidget BrepSceneNode DocumentSceneNode DraggableWidget DimensionNode RobotArm RobotBody ImageSceneNode ParticleSceneNode SegmentsSceneNode SharedShapeNode TextSceneNode TagNode2D WindowNode2D ArrowWidget CoordinateGridWidget MeasureDistanceNode PointCloud

Public 成员函数

java.math.BigInteger GetUserId ()
 
void SetUserId (java.math.BigInteger val)
 
Matrix4 GetTransform ()
 
AABox GetBoundingBox ()
 
void SetBoundingBox (AABox val)
 
Matrix4 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 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 GetPhysics ()
 
void SetPhysics (boolean bEnabled)
 
void SetTransform (Matrix4 trf)
 
SceneNode GetRootNode ()
 
SceneNode Clone ()
 
void RequestUpdate ()
 
void AddTransform (Matrix4 trf)
 
void SetWorldTransform (Matrix4 world)
 
void UpdateTransform (Matrix4 parent)
 
AABox ComputeBoundingBox (Matrix4 parent)
 
boolean IsVisiblePath ()
 
- Public 成员函数 继承自 GfxObject
long GetUuid ()
 

静态 Public 成员函数

static SceneNode Cast (GfxObject obj)
 

详细描述

<>
The base SceneNode to contain rendering objects.

成员函数说明

◆ AddTransform()

void SceneNode.AddTransform ( Matrix4  trf)

multiply the transform to the existing one

参数
trfthe transform to multiply.

◆ GetPhysics()

boolean SceneNode.GetPhysics ( )

是否参与物理引擎计算。默认为否

返回
true 是

◆ SetPhysics()

void SceneNode.SetPhysics ( boolean  bEnabled)

设置是否参与物理计算。

参数
bEnabledtrue则参与

◆ UpdateTransform()

void SceneNode.UpdateTransform ( Matrix4  parent)

Update the local transform.

参数
parentthe parent node transform.

GroupSceneNode 重载.