In a Text Box node, deletes a character using backspace.
For example, in text that uses a left-to-right script it deletes the character on the left side of the cursor.
In a Text Box node, deletes the characters until the next word boundary using backspace.
For example, in text that uses a left-to-right script it deletes the characters between the cursor position and the closest word boundary on the left side of the cursor.
Discards the text composed in an Input Method Editor.
This action works only when the Text Box node, which the action targets, is in the editing state.
Sets whether to clip the child nodes of this node. Kanzi clips the child nodes whose bounding box is completely outside of the bounding box of their parent node.
Use this property with layout nodes. The child nodes can use only translation transformation.
Commits to a Text Box node the text composed in an Input Method Editor.
This action works only when the Text Box node, which the action targets, is in the editing state.
In a Text Box node, deletes a character using delete.
For example, in text that uses a left-to-right script it deletes the character on the right side of the cursor.
In a Text Box node, deletes the characters until the next word boundary using delete.
For example, in text that uses a left-to-right script it deletes the characters between the cursor position and the closest word boundary on the right side of the cursor.
Indicates whether this node and its ancestor nodes are enabled.
Use this property in state managers and bindings to observe whether a node is effectively enabled.
To enable or disable a node, use the Enabled property.
When a node is effectively disabled:
Whether this node is enabled.
When you disable this property in a node, that node and its descendant nodes in the same overlay focus scope are effectively disabled.
Effectively disabling a node removes that node from the focus chain and cancels all the active input manipulators.Use the Effectively Enabled property to observe whether a node is effectively enabled.
Sets the material whose shader is used to render the text. The shader must use the ContentTexture uniform which is automatically filled with glyph data.
Sets whether Kanzi uses fractional or rounded character widths to lay out text. In most cases fractional widths provide the best result. However, with small font sizes, fractional widths can cause the characters to run together or have too much space, making it difficult to read.
The margin of the frustum cull radius of the node. For example, set the margin when a vertex shader modifies the geometry of the node.
To use this property, enable the Frustum Culling property in the Draw Objects Render Pass you use to render the node.
Sets whether to hide the placeholder content, which you set using the Text Hint Prefab property, when the Text Box node is in the editing state. To hide the placeholder content only when the user enters text in the Text Box node, disable this property.
When enabled, the node can be hit tested.
Enabling Hit Testable for a 2D node enables hit testing only for that node.
Enabling Hit Testable for a 3D node enables hit testing also for the child nodes. Kanzi hit tests 3D nodes using the default Camera node or the Hit Test Camera node of the active Scene node.
Whether to horizontally scale the glyphs to make them fit into the Layout Width of the Text Block. To adjust the scale, use the Horizontal Fit Scale Limits property.
When the Horizontal Fit property is enabled, sets the minimum and maximum scale for glyphs when the width of text in a Text Block does not match the Layout Width of that Text Block.
For example:
Sets the label of the user action button on the on-screen keyboard for this Text Box.
By default uses the label of the default input method of the operating system.
Occurs when the input method that is composing text in a Text Box node becomes unavailable.
For example, an on-screen keyboard becomes unavailable when the user hides it.
The location, orientation and scale of the node relative to its parent node.
Layout Transformation affects the layout. If you do not want to affect the layout, use Render Transformation.
Sets the maximum length of text that the user can insert in the Text Box node. The unit is a UTF-8 character and the buffer byte length can be greater for multi-byte characters.
Sets the characters that represent the truncated text when the text does not fit in this node. The default value is ‘…’.
By default, Kanzi truncates the text at the end. Use the Truncation Direction property to set the part of the text that you want to truncate.
Sets whether the Text Box node is editable. When you enable this property, you can set the text only through the Text property and the user cannot edit the text in the Text Box node.
Whether to position the leftmost characters of left-aligned text and rightmost characters of right-aligned text exactly within the boundary of the text node.
Use the Text %Box nodes to add single-line text input to your application. Use TextBox3D to add text
input in 3D space and TextBox2D to add text input in 2D space.