Kanzi 3.9.10
TextBlock3DMetadata Interface Reference

Metadata definitions for TextBlock3D. More...

Inheritance diagram for TextBlock3DMetadata:
[legend]

Public Attributes

DynamicPropertyType< FloatBaselineProperty
 Font baseline in 3D space units.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.TextBlock3D")
 Metaclass for TextBlock3D.
 
DynamicPropertyType< BooleanTwoPassRenderingProperty
 Defines whether the Text Block 3D is rendered in two passes.
 
- Public Attributes inherited from Node3DMetadata
DynamicPropertyType< Matrix4x4FinalTransformationProperty
 The combined location, orientation and scale of the node and its ancestor nodes.
 
DynamicPropertyType< FloatFrustumCullMarginProperty
 The margin of the frustum cull radius of the node.
 
DynamicPropertyType< SRTValue3DLayoutTransformationProperty
 The location, orientation and scale of the node relative to its parent node.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.Node3D")
 Metaclass for Node3D.
 
DynamicPropertyType< SRTValue3DRenderTransformationProperty
 The location, orientation, and scale of the node relative to its parent node.
 
- Public Attributes inherited from NodeMetadata
DynamicPropertyType< FloatActualDepthProperty
 The calculated size of the node in depth direction when used in a layout.
 
DynamicPropertyType< FloatActualHeightProperty
 The calculated height of the node when used in a layout.
 
DynamicPropertyType< FloatActualWidthProperty
 The calculated width of the node when used in a layout.
 
DynamicPropertyType< BooleanClipChildrenProperty
 Sets whether to clip the child nodes of this node.
 
DynamicPropertyType< NodeEnums.ContentStretchContentStretchProperty
 Sets how the content that belongs to this node is stretched (as opposed to manipulating the actual node size).
 
DynamicPropertyType< BooleanCreatedFromKZBProperty
 Kanzi internally uses this property to distinguish objects like bindings and triggers created in code from objects that are loaded from a kzb file.
 
DynamicPropertyType< NodeEnums.DepthAlignmentDepthAlignmentProperty
 The alignment in depth direction the node should use when it resides under a layout.
 
DynamicPropertyType< Vector2DepthMarginProperty
 Sets the depth distance between this node and other nodes that are adjacent to this node in a layout.
 
DynamicPropertyType< FloatDepthProperty = new DynamicPropertyType<>("Node.Depth", Float.class)
 The size of the node in depth direction when used in a layout.
 
DynamicPropertyType< BooleanEffectivelyEnabledProperty
 Indicates whether this node and its ancestor nodes are enabled.
 
DynamicPropertyType< BooleanEnabledProperty
 Whether this node is enabled.
 
DynamicPropertyType< BooleanFocusableProperty
 Indicates whether the node can receive focus.
 
DynamicPropertyType< BooleanFocusedProperty
 Indicates whether the node has the key focus.
 
DynamicPropertyType< FocusStateFocusStateProperty
 Reports the focus state of a node:
 
DynamicPropertyType< ResourceFontFamilyProperty
 The font family used to render the text.
 
DynamicPropertyType< FloatHeightProperty
 The height of the node when used in a layout.
 
DynamicPropertyType< BooleanHitTestableContainerProperty
 When enabled, Kanzi uses the layout bounds as geometry for hit testing.
 
DynamicPropertyType< BooleanHitTestableProperty
 When enabled, the node can be hit tested.
 
DynamicPropertyType< NodeEnums.HorizontalAlignmentHorizontalAlignmentProperty
 The alignment in horizontal direction the node should use when it resides under a layout.
 
DynamicPropertyType< Vector2HorizontalMarginProperty
 Sets the horizontal space between this node and other nodes that are adjacent to this node in a layout.
 
DynamicPropertyType< BooleanHoverProperty
 Indicates whether a node is the foremost hit testable node under the cursor.
 
DynamicPropertyType< String > LocaleProperty
 The locale of the node.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.Node")
 Metaclass for Node.
 
DynamicPropertyType< String > NameProperty = new DynamicPropertyType<>("Node.Name", String.class)
 Node name.
 
DynamicPropertyType< FloatOpacityProperty
 Opacity of the node.
 
DynamicPropertyType< String > PathProperty = new DynamicPropertyType<>("Node.Path", String.class)
 Full path to the node.
 
DynamicPropertyType< FloatProjection2DTo3DScaleProperty
 Sets the scale factor to project pixels to 3D size.
 
DynamicPropertyType< ResourceStateManagerProperty
 Sets the State Manager to the node.
 
DynamicPropertyType< ResourceStyleProperty
 Sets a style to the node.
 
DynamicPropertyType< NodeEnums.VerticalAlignmentVerticalAlignmentProperty
 The alignment in vertical direction the node should use when it resides under a layout.
 
DynamicPropertyType< Vector2VerticalMarginProperty
 Sets the vertical space between this node and other nodes that are adjacent to this node in a layout.
 
DynamicPropertyType< FloatVisibleAmountInParentProperty
 Sets the amount the node is inside its parent.
 
DynamicPropertyType< BooleanVisibleProperty
 When disabled, Kanzi does not render the node.
 
DynamicPropertyType< FloatWidthProperty = new DynamicPropertyType<>("Node.Width", Float.class)
 The width of the node when used in a layout.
 
- Public Attributes inherited from TextConceptMetadata
DynamicPropertyType< ColorRGBAFontColorProperty
 Sets the color of the text in a 3D text node.
 
DynamicPropertyType< ResourceFontMaterialProperty
 Sets the material whose shader is used to render the text.
 
DynamicPropertyType< BooleanHorizontalFitProperty
 Whether to horizontally scale the glyphs to make them fit into the Layout Width of the Text Block.
 
DynamicPropertyType< Vector2HorizontalFitScaleLimitsProperty
 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.
 
DynamicPropertyType< Vector2HorizontalPaddingProperty
 Sets the padding spaces between the content and the left and right boundaries of the Text node.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.TextConcept")
 Metaclass for TextConcept.
 
DynamicPropertyType< String > OverflowProperty
 Sets the characters that represent the truncated text when the text does not fit in this node.
 
DynamicPropertyType< BooleanRemoveSideBearingsProperty
 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.
 
DynamicPropertyType< TextFormatEnums.TextHorizontalAlignmentTextHorizontalAlignmentProperty
 Sets the horizontal alignment of the text.
 
DynamicPropertyType< String > TextProperty
 Sets the text content that the text node renders.
 
DynamicPropertyType< TextFormatEnums.TextVerticalAlignmentTextVerticalAlignmentProperty
 Sets the vertical alignment of the text.
 
DynamicPropertyType< TextFormatEnums.TruncationDirectionTruncationDirectionProperty
 Sets which part Kanzi truncates when either the Truncation or Overflow property is set and the text does not fit in this node:
 
DynamicPropertyType< TextFormatEnums.TruncationTruncationProperty
 Sets how Kanzi truncates text when either Truncation or Overflow property is set and the text does not fit in this node:
 
DynamicPropertyType< Vector2VerticalPaddingProperty
 Sets the padding spaces between the content and the top and bottom boundaries of the Text node.
 
- Public Attributes inherited from TextBlockConceptMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.TextBlockConcept")
 Metaclass for TextBlockConcept.
 
DynamicPropertyType< BooleanWordWrapProperty
 Sets whether to break long lines into multiple lines to make the text fit within the boundaries of the Text Block node.
 
- Public Attributes inherited from FontStyleConceptMetadata
DynamicPropertyType< FloatCharacterSpacingProperty
 Sets the character spacing in pixels.
 
DynamicPropertyType< FloatFixedCharacterWidthProperty
 When set, overrides the font advance widths to make each character take a fixed amount of space specified in pixels.
 
DynamicPropertyType< FontHintingPreferenceFontHintingPreferenceProperty
 Sets the hinting preference of the font.
 
DynamicPropertyType< BooleanFractionalCharacterWidthProperty
 Sets whether Kanzi uses fractional or rounded character widths to lay out text.
 
DynamicPropertyType< FloatLineSpacingProperty
 Sets the line spacing in multiples of the normal line height of the selected font.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.FontStyleConcept")
 Metaclass for FontStyleConcept.
 
DynamicPropertyType< FloatSizeProperty
 Sets the size of the font in pixels.
 
DynamicPropertyType< BooleanSnapCharacterToPixelPropertyProperty
 Sets whether Kanzi positions characters in 2D rendering to the nearest pixel:
 
DynamicPropertyType< FontStyleStyleProperty
 Sets the style of the font.
 
DynamicPropertyType< FontWeightWeightProperty
 Sets the weight of the font.
 

Detailed Description

Metadata definitions for TextBlock3D.

Member Data Documentation

◆ BaselineProperty

DynamicPropertyType<Float> BaselineProperty
Initial value:
=
new DynamicPropertyType<>("TextBlock3D.Baseline", Float.class)

Font baseline in 3D space units.

◆ TwoPassRenderingProperty

DynamicPropertyType<Boolean> TwoPassRenderingProperty
Initial value:
=
new DynamicPropertyType<>("TextBlock3D.TwoPassRendering", Boolean.class)

Defines whether the Text Block 3D is rendered in two passes.

Disabling the two pass rendering improves performance, but can cause invalid rendering results when glyph bounds overlap.