Click or drag to resize
AB4D logo

InstancedTextNode Methods

The InstancedTextNode type exposes the following members.

Methods
 NameDescription
Public methodAddText(String, Color, Matrix3D, Boolean) Add the specified text to the InstancedTextNode with the worldMatrix instead of position and size parameters. The orientation of the text is fully defined by the worldMatrix and therefore the orientation defined by the SetTextDirection(Vector3D, Vector3D) method is not used.
Public methodAddText(String, Color, Point3D, Double, Boolean) Add the specified text to the InstancedTextNode with using simple position and size parameters. The orientation of the text is defined by the SetTextDirection(Vector3D, Vector3D) method.
Public methodCollectRenderableObjects The task of the CollectRenderableObjects method is to create objects derived from RenderablePrimitiveBase and add them to the appropriate RenderingQueue. This method is called at the beginning of RenderScene method call but only when the scene was significantly changed (number of SceneNodes is changed, material is significantly changed, etc.)
(Overrides ObjectNodeCollectRenderableObjects)
Public methodGetReport Gets a string with a report that provides information which characters are used in this InstanceTextNode.
Public methodRemoveText RemoveText removes the specified instancedText from this InstancedTextNode
Public methodSetTextDirection Sets the direction and orientation of the text that is added by AddText(String, Color, Point3D, Double, Boolean). By default the textDirection is set to (1, 0, 0) and upDirection is set to (0, 1, 0)
Public methodUpdate Update method is called on each update phase (before render phase)
(Overrides SceneNodeUpdate)
Top
Extension Methods
 NameDescription
Public Extension MethodGetGeometryModel3D Returns a WPF's GeometryModel3D that was used to create the specified sceneNode. If the sceneNode does not define a GeometryModel3D object, then null is returned.
(Defined by Extensions)
Public Extension MethodGetModel3D Returns a WPF's Model3D that was used to create the specified sceneNode. If the sceneNode does not define a Model3D object, then null is returned.
(Defined by Extensions)
Public Extension MethodGetModelVisual3D Returns a WPF's ModelVisual3D that was used to create the specified sceneNode or any parent SceneNode (in case searchParentSceneNodes is true). If a SceneNode that defines a ModelVisual3D is not found, then null is returned.
(Defined by Extensions)
Public Extension MethodGetVisual3D Returns a WPF's Visual3D that was used to create the specified sceneNode or any parent SceneNode (in case searchParentSceneNodes is true). If a SceneNode that defines a Visual3D is not found, then null is returned.
(Defined by Extensions)
Top
See Also