The calculated size of the node in depth direction when used in a layout.
The calculated height of the node when used in a layout.
The calculated width of the node when used in a layout.
Determines the proportion of width and height. You cannot set both the Aspect Ratio and both, Width and Height.
The background brush to paint the background of 2D nodes.
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.
Indicates whether the node is cached. To disable the cache for one frame, disable this property.
Sets the caching mode of this node:
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 the character spacing in pixels.
In a Text Box node, clears the current text selection.
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.
The brush to use to compose 2D nodes to screen.
Sets the brush that highlights the text that the user composes using an input method editor (IME).
Occurs when the text produced in an Input Method Editor is updated in a Text Box node.
Occurs:
Sets the brush for the text that the user composes using an input method editor (IME).
Reports the text that the user composes in the Text Box using an input method editor (IME).
Sets how the content that belongs to this node is stretched (as opposed to manipulating the actual node size).
Kanzi internally uses this property to distinguish objects like bindings and triggers created in code from objects that are loaded from a kzb file.
Occurs when the user moves the cursor in a Text Box node.
Sets the position of the cursor in the text shown in the Text Box node.
Sets the prefab template that defines the appearance of the cursor instead of the default cursor.
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, erases any currently selected text.
In a Text Box node, deletes the text between given start and end character indexes.
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.
The alignment in depth direction the node should use when it resides under a layout.
Sets the depth distance between this node and other nodes that are adjacent to this node in a layout.
The size of the node in depth direction when used in a layout. Overrides the default bounds of the item.
Do not clear render target buffers before rendering into it even if necessary.
Reports the text that the Text Box displays.
Sets how the Text Box node shows text:
Occurs when a Text Box node leaves the editing state after the user modified the text content.
Occurs when the user makes the first modification to the text in a Text Box node that is in the editing state.
Sets how the Text Box node enters the editing state:
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:
The 2D Effect to use for this node.
Reports the runtime effect instance that this node uses. Kanzi sets the value of this property internally when the value of the Effect Prefab property in this node changes.
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.
Occurs when a Text Box node enters the editing state.
Makes a Text Box node enter the editing state.
Makes a Text Box node leave the editing state.
When set, overrides the font advance widths to make each character take a fixed amount of space specified in pixels.
Indicates whether the node can receive focus.
Indicates whether the node has the key focus.
Reports the focus state of a node:
Sets the color of the text in a 3D text node.
The font family used to render the text.
Sets the hinting preference of the font.
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 the style of the font.
Force rendering to composing target even if not otherwise necessary.
The foreground brush to paint the foreground of 2D nodes.
Give a hint of the type of the foreground of 2D nodes:
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.
Indicates whether any of the text in the Text Box node is selected.
The height of the node when used in a layout. Overrides the default bounds of the item.
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, Kanzi uses the layout bounds as geometry for hit testing.
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.
The alignment in horizontal direction the node should use when it resides under a layout.
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 horizontal space between this node and other nodes that are adjacent to this node in a layout.
Sets the padding spaces between the content and the left and right boundaries of the Text node.
Indicates whether a node is the foremost hit testable node under the cursor.
Occurs when the user taps the action button on their on-screen keyboard while editing the text in a Text Box node.
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 an input method becomes available to a Text Box node.
For example, an on-screen keyboard becomes available when it appears on the screen.
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.
Sets the input type of the input methods that provide the input layout to let the user enter and edit text of specific type in the Text Box node:
In a Text Box node, inserts text at a specified character index.
In a Text Box node, adds text at the cursor position.
Set the value of the Text property to the text that you want to add.
Reports the text composition state of the Text Box node.
Reports the editing state of the Text Box node.
The 2D transformation to be applied before layouting.
Occurs when a Text Box node leaves the editing state
Sets the line spacing in multiples of the normal line height of the selected font.
The locale of the node.
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.
In a Text Box node, moves the cursor backward by one character.
In a Text Box node, moves the cursor forward by one character.
In a Text Box node, moves the cursor ahead of the first character of the text content.
In a Text Box node, moves the cursor after the last character of the text content.
In a Text Box node, moves the cursor forward to the next word boundary.
In a Text Box node, moves the cursor backward to the previous word boundary.
In a Text Box node, moves the handle at the end of text selection backward by one character.
In a Text Box node, moves the handle at the end of text selection forward by one character.
In a Text Box node, moves the handle at the end of text selection forward to the start of the next word.
In a Text Box node, moves the handle at the end of text selection backward to the start of the previous word.
In a Text Box node, moves the handle at the beginning of text selection backward by one character.
In a Text Box node, moves the handle at the beginning of text selection forward by one character.
In a Text Box node, moves the handle at the beginning of text selection forward to the start of the next word.
In a Text Box node, moves the handle at the beginning of text selection backward to the start of the previous word.
Sets the amount of multisample anti-aliasing to apply to the temporary composition targets to which Kanzi renders this node.
Message subscription token for nodes.
Node name.
Base class for Kanzi nodes.
Node2D is the base class of 2D nodes.
When set and the node has an explicitly set render target, do not render the resulting framebuffer to screen.
Opacity of the node.
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.
When the Echo Mode property is set to Password, this property sets the time in milliseconds that an inserted character is visible before being masked.
When the Echo Mode property is set to Password, this property sets the character that masks each character that the application user enters.
Full path to the node.
The 3D transformation field of view (degrees) to be applied after layouting.
Defines the mode of operation for the coordinate system and field of view.
The 3D transformation origin to be used for perspective transformation on this or child nodes.
The 3D pivot point in relative coordinates.
The 3D transformation to be applied after layouting.
The pixel format of the node if rendering to a texture.
Sets the scale factor to project pixels to 3D size. When scale is 1, then the size of one pixel is one 3D space unit.
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.
Whether the node renders itself. Does not affect the rendering of child nodes.
Sets the minimum height of implicitly generated render targets.
Sets the minimum width of implicitly generated render targets.
Forces the node to be rendered into a given render target texture. When set to “No Target”,
regular conditions whether node is rendered to a texture, such as opacity and rotation, are applied.
The change in size that triggers reallocation of a render target.
Sets the render transform origin in relative coordinates.
The 2D transformation to be applied after layouting.
Sets the brush that highlights the selected text.
Occurs when the user changes the text selection in a Text Box node.
Occurs when the user clears or resets the text selection in a Text Box node.
The position of the cursor that marks the end of text selection in the Text Box node.
Sets the prefab template that defines the appearance of the selection handle at the end of text selection instead of the default handle.
Sets the brush for the selected text.
Occurs when the user starts selecting text in a Text Box node.
The position of the cursor that marks the beginning of text selection in the Text Box node.
Sets the prefab template that defines the appearance of the selection handle at the beginning of text selection instead of the default handle.
In a Text Box node, selects all text.
In a Text Box node, selects the text between given start and end character indexes.
In a Text Box node, selects the text from the cursor position to the end of the text.
In a Text Box node, selects the text from the start of the text to the cursor position.
In a Text Box node, selects the word at the cursor position.
Sets the size of the font in pixels.
Sets whether Kanzi positions characters in 2D rendering to the nearest pixel:
Snap the translation of the node and its size into pixel boundary.
Sets the State Manager to the node.
Sets a style to the node.
Occurs when the user changes the text in a Text Box node.
Occurs:
Sets the prefab template for showing placeholder content when the Text Box node is empty.
Sets the horizontal alignment of the text.
Sets the text key navigation direction.
Sets the text content that the text node renders.
To create a line break press Shift+Enter.
Sets the vertical alignment of the text.
Sets which part Kanzi truncates when either the Truncation or Overflow property is set and the text does not fit in this node:
Sets how Kanzi truncates text when either Truncation or Overflow property is set and the text does not fit in this node:
TextBox2D provides the required overrides to handle 2D rendering and gesture handling
for the 2D text input.
The alignment in vertical direction the node should use when it resides under a layout.
Sets the vertical space between this node and other nodes that are adjacent to this node in a layout.
Sets the padding spaces between the content and the top and bottom boundaries of the Text node.
Sets the amount the node is inside its parent. Use the value of this property in shaders to implement fades. Calculated by the parent node.
When disabled, Kanzi does not render the node.
Sets the weight of the font.
The width of the node when used in a layout. Overrides the default bounds of the item.