Click or drag to resize
Ab4d.SharpEngine logo

InstancedTextNode Methods

The InstancedTextNode type exposes the following members.

Methods
 NameDescription
Public methodAddText Add the specified text to the InstancedTextNode with using simple position and size parameters. The orientation of the text is defined by the SetTextDirection(Vector3, Vector3) method.
Public methodCollectRenderingItems CollectRenderingItems
(Overrides SceneNodeCollectRenderingItems(RenderingContext))
Protected methodDispose Dispose
(Overrides SceneNodeDispose(Boolean))
Public methodGetCenterPosition Returns center position of this RenderedNode. Center position is calculated from the center position of the local bounding box.
(Overrides RenderedNodeGetCenterPosition(Boolean, Boolean))
Public methodGetReport Gets a string with a report that provides information which characters are used in this InstanceTextNode.
Protected methodOnInitializeSceneResources Initializes resources with the specified Scene and GpuDevice. This method can be overriden and is called from InitializeSceneResources(Scene) method.
(Overrides InitializedSceneComponentOnInitializeSceneResources(Scene, VulkanDevice))
Protected methodOnIsVisibleChanged OnIsVisibleChanged is called when the value of IsVisible property is changed. Overridden implementations should update the IsVisible property of the RenderingItem objects that were already added to RenderingLayers.
(Overrides SceneNodeOnIsVisibleChanged(Boolean))
Protected methodOnUpdate OnUpdate
(Overrides SceneNodeOnUpdate)
Protected methodOnWorldMatrixChanged OnWorldMatrixChanged
(Overrides SceneNodeOnWorldMatrixChanged)
Public methodRemoveAllTexts Removes all added texts from this InstancedTextNode.
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, Color4, Vector3, Single, Boolean). By default, the textDirection is set to (1, 0, 0) and upDirection is set to (0, 1, 0)
Protected methodUpdateLocalBoundingBox UpdateLocalBoundingBox
(Overrides SceneNodeUpdateLocalBoundingBox)
Top
See Also