AnyCAD Rapid API 2023
Help you to create a better world!
TextSceneNode Class Reference
Inheritance diagram for TextSceneNode:
PrimitiveSceneNode SceneNode GfxObject

Public Member Functions

 TextSceneNode (String text, float height, Vector3 color, Vector3 background, boolean alwaysFacingFront)
 
 TextSceneNode (PrimitiveShape shape, float fontHeight, boolean autoTransform)
 
 TextSceneNode (BufferGeometry shape, MaterialInstance material, float fontHeight, boolean autoTransform)
 
float GetFontHeight ()
 
Matrix4 GetScale ()
 
void SetText (String text)
 
TextSceneNode CloneTextSceneNode ()
 
SceneNode Clone ()
 
- Public Member Functions inherited from PrimitiveSceneNode
 PrimitiveSceneNode (PrimitiveShape shape)
 
 PrimitiveSceneNode (BufferGeometry shape, MaterialInstance material)
 
PrimitiveShape GetPrimitive ()
 
MaterialInstance GetMaterial ()
 
void SetMaterial (MaterialInstance material)
 
void SetPrimitive (PrimitiveShape shape)
 
void UpdateBoundingBox ()
 
- Public Member Functions inherited from SceneNode
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 ()
 
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 TextSceneNode Cast (GfxObject obj)
 
static TextSceneNode Create (String text, Vector3 color, float fontHeight, boolean autoTransform)
 

Detailed Description

<>
The SceneNode to manage Text.

Member Function Documentation

◆ Cast()

static TextSceneNode TextSceneNode.Cast ( GfxObject  obj)
static

Reimplemented from PrimitiveSceneNode.

◆ Clone()

SceneNode TextSceneNode.Clone ( )

Reimplemented from PrimitiveSceneNode.