AnyCAD Rapid API 2023
Help you to create a better world!
SceneNode Class Reference
Inheritance diagram for SceneNode:
GfxObject GeneralSceneNode GroupSceneNode PrimitiveSceneNode ShapeSceneNode BrepSceneNode CoordinateWidget DocumentSceneNode DimensionNode RobotArm RobotBody ParticleSceneNode SegmentsSceneNode SharedShapeNode TextSceneNode ArrowWidget CoordinateGridWidget MeasureDistanceNode PointCloud

Public Member Functions

java.math.BigInteger GetUserId ()
 
void SetUserId (java.math.BigInteger val)
 
Matrix4 GetTransform ()
 
void SetTransform (Matrix4 val)
 
AxisAlignedBox GetBoundingBox ()
 
void SetBoundingBox (AxisAlignedBox val)
 
Matrix4 GetWorldTransform ()
 
AxisAlignedBox GetWorldBBox ()
 
boolean GetCastShadow ()
 
void SetCastShadow (boolean val)
 
boolean GetPickable ()
 
void SetPickable (boolean val)
 
boolean GetCulling ()
 
void SetCulling (boolean val)
 
boolean GetVisible ()
 
void SetVisible (boolean val)
 
boolean GetChildrenPickable ()
 
void SetChildrenPickable (boolean val)
 
SceneNode GetParent ()
 
long GetUpdateVersion ()
 
void SetUpdateVersion (long val)
 
MaterialInstance GetOverrideFaceMaterial ()
 
void SetOverrideFaceMaterial (MaterialInstance val)
 
MaterialInstance GetOverrideEdgeMaterial ()
 
void SetOverrideEdgeMaterial (MaterialInstance val)
 
SceneNode GetRootNode ()
 
SceneNode Clone ()
 
void RequstUpdate ()
 
void AddTransform (Matrix4 trf)
 
void SetWorldTransform (Matrix4 world)
 
void UpdateTransform (Matrix4 parent)
 
void UpdateWorldTransform (Matrix4 scene)
 
AxisAlignedBox ComputeBoundingBox (Matrix4 parent)
 
boolean IsVisiblePath ()
 
- Public Member Functions inherited from GfxObject
long GetUuid ()
 

Static Public Member Functions

static SceneNode Cast (GfxObject obj)
 

Detailed Description

<>
The base SceneNode to contain rendering objects.

Member Function Documentation

◆ AddTransform()

void SceneNode.AddTransform ( Matrix4  trf)

multiply the transform to the existing one

Parameters
trfthe transform to multiply.

◆ UpdateTransform()

void SceneNode.UpdateTransform ( Matrix4  parent)

Update the local transform.

Parameters
parentthe parent node transform.

Reimplemented in DocumentSceneNode, and GroupSceneNode.

◆ UpdateWorldTransform()

void SceneNode.UpdateWorldTransform ( Matrix4  scene)

update the world transform

Parameters
scenethe scene transfrom.