Metadata definitions for Node2D. More...
Public Attributes | |
DynamicPropertyType< Float > | AspectRatioProperty |
Determines the proportion of width and height. | |
DynamicPropertyType< Resource > | BackgroundBrushProperty |
The background brush to paint the background of 2D nodes. | |
DynamicPropertyType< Boolean > | CacheValidProperty |
Indicates whether the node is cached. | |
DynamicPropertyType< CachingMode > | CachingModeProperty |
Sets the caching mode of this node: | |
DynamicPropertyType< Resource > | CompositionBrushProperty |
The brush to use to compose 2D nodes to screen. | |
DynamicPropertyType< Boolean > | DisableRenderTargetClearProperty |
Do not clear render target buffers before rendering into it even if necessary. | |
DynamicPropertyType< Resource > | EffectPrefabProperty |
The 2D Effect to use for this node. | |
DynamicPropertyType< Resource > | EffectProperty |
Reports the runtime effect instance that this node uses. | |
DynamicPropertyType< Boolean > | ForceCompositionProperty |
Force rendering to composing target even if not otherwise necessary. | |
DynamicPropertyType< Resource > | ForegroundBrushProperty |
The foreground brush to paint the foreground of 2D nodes. | |
DynamicPropertyType< Node2DEnums.ForegroundHint > | ForegroundHintProperty |
Give a hint of the type of the foreground of 2D nodes: | |
DynamicPropertyType< SRTValue2D > | LayoutTransformationProperty |
The 2D transformation to be applied before layouting. | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.Node2D") |
Metaclass for Node2D. | |
DynamicPropertyType< MultisampleCount > | MultisampleLevelProperty |
Sets the amount of multisample anti-aliasing to apply to the temporary composition targets to which Kanzi renders this node. | |
DynamicPropertyType< Boolean > | OffscreenRenderingProperty |
When set and the node has an explicitly set render target, do not render the resulting framebuffer to screen. | |
DynamicPropertyType< Float > | PerspectiveTransformationFovProperty |
The 3D transformation field of view (degrees) to be applied after layouting. | |
DynamicPropertyType< Node2DEnums.PerspectiveTransformationMode > | PerspectiveTransformationModeProperty |
Defines the mode of operation for the coordinate system and field of view. | |
DynamicPropertyType< Vector3 > | PerspectiveTransformationOriginProperty |
The 3D transformation origin to be used for perspective transformation on this or child nodes. | |
DynamicPropertyType< Vector3 > | PerspectiveTransformationPivotProperty |
The 3D pivot point in relative coordinates. | |
DynamicPropertyType< SRTValue3D > | PerspectiveTransformationProperty |
The 3D transformation to be applied after layouting. | |
DynamicPropertyType< Node2DEnums.PixelFormat > | PixelFormatProperty |
The pixel format of the node if rendering to a texture. | |
DynamicPropertyType< Boolean > | RenderSelfProperty |
Whether the node renders itself. | |
DynamicPropertyType< Float > | RenderTargetMinimumHeightProperty |
Sets the minimum height of implicitly generated render targets. | |
DynamicPropertyType< Float > | RenderTargetMinimumWidthProperty |
Sets the minimum width of implicitly generated render targets. | |
DynamicPropertyType< Resource > | RenderTargetProperty |
Forces the node to be rendered into a given render target texture. | |
DynamicPropertyType< Float > | RenderTargetReallocationLimitProperty |
The change in size that triggers reallocation of a render target. | |
DynamicPropertyType< Vector2 > | RenderTransformationOriginProperty |
Sets the render transform origin in relative coordinates. | |
DynamicPropertyType< SRTValue2D > | RenderTransformationProperty |
The 2D transformation to be applied after layouting. | |
DynamicPropertyType< Boolean > | SnapToPixelProperty |
Snap the translation of the node and its size into pixel boundary. | |
Public Attributes inherited from NodeMetadata | |
DynamicPropertyType< Float > | ActualDepthProperty |
The calculated size of the node in depth direction when used in a layout. | |
DynamicPropertyType< Float > | ActualHeightProperty |
The calculated height of the node when used in a layout. | |
DynamicPropertyType< Float > | ActualWidthProperty |
The calculated width of the node when used in a layout. | |
DynamicPropertyType< Boolean > | ClipChildrenProperty |
Sets whether to clip the child nodes of this node. | |
DynamicPropertyType< NodeEnums.ContentStretch > | ContentStretchProperty |
Sets how the content that belongs to this node is stretched (as opposed to manipulating the actual node size). | |
DynamicPropertyType< Boolean > | CreatedFromKZBProperty |
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.DepthAlignment > | DepthAlignmentProperty |
The alignment in depth direction the node should use when it resides under a layout. | |
DynamicPropertyType< Vector2 > | DepthMarginProperty |
Sets the depth distance between this node and other nodes that are adjacent to this node in a layout. | |
DynamicPropertyType< Float > | DepthProperty = new DynamicPropertyType<>("Node.Depth", Float.class) |
The size of the node in depth direction when used in a layout. | |
DynamicPropertyType< Boolean > | EffectivelyEnabledProperty |
Indicates whether this node and its ancestor nodes are enabled. | |
DynamicPropertyType< Boolean > | EnabledProperty |
Whether this node is enabled. | |
DynamicPropertyType< Boolean > | FocusableProperty |
Indicates whether the node can receive focus. | |
DynamicPropertyType< Boolean > | FocusedProperty |
Indicates whether the node has the key focus. | |
DynamicPropertyType< FocusState > | FocusStateProperty |
Reports the focus state of a node: | |
DynamicPropertyType< Resource > | FontFamilyProperty |
The font family used to render the text. | |
DynamicPropertyType< Float > | HeightProperty |
The height of the node when used in a layout. | |
DynamicPropertyType< Boolean > | HitTestableContainerProperty |
When enabled, Kanzi uses the layout bounds as geometry for hit testing. | |
DynamicPropertyType< Boolean > | HitTestableProperty |
When enabled, the node can be hit tested. | |
DynamicPropertyType< NodeEnums.HorizontalAlignment > | HorizontalAlignmentProperty |
The alignment in horizontal direction the node should use when it resides under a layout. | |
DynamicPropertyType< Vector2 > | HorizontalMarginProperty |
Sets the horizontal space between this node and other nodes that are adjacent to this node in a layout. | |
DynamicPropertyType< Boolean > | HoverProperty |
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< Float > | OpacityProperty |
Opacity of the node. | |
DynamicPropertyType< String > | PathProperty = new DynamicPropertyType<>("Node.Path", String.class) |
Full path to the node. | |
DynamicPropertyType< Float > | Projection2DTo3DScaleProperty |
Sets the scale factor to project pixels to 3D size. | |
DynamicPropertyType< Resource > | StateManagerProperty |
Sets the State Manager to the node. | |
DynamicPropertyType< Resource > | StyleProperty |
Sets a style to the node. | |
DynamicPropertyType< NodeEnums.VerticalAlignment > | VerticalAlignmentProperty |
The alignment in vertical direction the node should use when it resides under a layout. | |
DynamicPropertyType< Vector2 > | VerticalMarginProperty |
Sets the vertical space between this node and other nodes that are adjacent to this node in a layout. | |
DynamicPropertyType< Float > | VisibleAmountInParentProperty |
Sets the amount the node is inside its parent. | |
DynamicPropertyType< Boolean > | VisibleProperty |
When disabled, Kanzi does not render the node. | |
DynamicPropertyType< Float > | WidthProperty = new DynamicPropertyType<>("Node.Width", Float.class) |
The width of the node when used in a layout. | |
Metadata definitions for Node2D.
DynamicPropertyType<Float> AspectRatioProperty |
Determines the proportion of width and height.
You cannot set both the Aspect Ratio and both, Width and Height.
DynamicPropertyType<Resource> BackgroundBrushProperty |
The background brush to paint the background of 2D nodes.
DynamicPropertyType<Boolean> CacheValidProperty |
Indicates whether the node is cached.
To disable the cache for one frame, disable this property.
DynamicPropertyType<CachingMode> CachingModeProperty |
Sets the caching mode of this node:
DynamicPropertyType<Resource> CompositionBrushProperty |
The brush to use to compose 2D nodes to screen.
DynamicPropertyType<Boolean> DisableRenderTargetClearProperty |
Do not clear render target buffers before rendering into it even if necessary.
DynamicPropertyType<Resource> EffectPrefabProperty |
The 2D Effect to use for this node.
DynamicPropertyType<Resource> EffectProperty |
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.
DynamicPropertyType<Boolean> ForceCompositionProperty |
Force rendering to composing target even if not otherwise necessary.
DynamicPropertyType<Resource> ForegroundBrushProperty |
The foreground brush to paint the foreground of 2D nodes.
DynamicPropertyType<Node2DEnums.ForegroundHint> ForegroundHintProperty |
Give a hint of the type of the foreground of 2D nodes:
DynamicPropertyType<SRTValue2D> LayoutTransformationProperty |
The 2D transformation to be applied before layouting.
DynamicPropertyType<MultisampleCount> MultisampleLevelProperty |
Sets the amount of multisample anti-aliasing to apply to the temporary composition targets to which Kanzi renders this node.
DynamicPropertyType<Boolean> OffscreenRenderingProperty |
When set and the node has an explicitly set render target, do not render the resulting framebuffer to screen.
DynamicPropertyType<Float> PerspectiveTransformationFovProperty |
The 3D transformation field of view (degrees) to be applied after layouting.
DynamicPropertyType<Node2DEnums.PerspectiveTransformationMode> PerspectiveTransformationModeProperty |
Defines the mode of operation for the coordinate system and field of view.
DynamicPropertyType<Vector3> PerspectiveTransformationOriginProperty |
The 3D transformation origin to be used for perspective transformation on this or child nodes.
DynamicPropertyType<Vector3> PerspectiveTransformationPivotProperty |
The 3D pivot point in relative coordinates.
DynamicPropertyType<SRTValue3D> PerspectiveTransformationProperty |
The 3D transformation to be applied after layouting.
DynamicPropertyType<Node2DEnums.PixelFormat> PixelFormatProperty |
The pixel format of the node if rendering to a texture.
DynamicPropertyType<Boolean> RenderSelfProperty |
Whether the node renders itself.
Does not affect the rendering of child nodes.
DynamicPropertyType<Float> RenderTargetMinimumHeightProperty |
Sets the minimum height of implicitly generated render targets.
DynamicPropertyType<Float> RenderTargetMinimumWidthProperty |
Sets the minimum width of implicitly generated render targets.
DynamicPropertyType<Resource> RenderTargetProperty |
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.
DynamicPropertyType<Float> RenderTargetReallocationLimitProperty |
The change in size that triggers reallocation of a render target.
DynamicPropertyType<Vector2> RenderTransformationOriginProperty |
Sets the render transform origin in relative coordinates.
DynamicPropertyType<SRTValue2D> RenderTransformationProperty |
The 2D transformation to be applied after layouting.
DynamicPropertyType<Boolean> SnapToPixelProperty |
Snap the translation of the node and its size into pixel boundary.