An Activity is a part of application UI that is responsible for a task.
For example, a media player application can have Activity nodes, such as radio, music player, and AUX.
However, an Activity can also be a smaller task, such as an Activity for the popup volume indicator that appears only when the user changes the volume in a media player.
An Activity can be visual, but does not have to be.
For example, an Activity that is visual can instantiate a prefab to show a popup window, while an Activity that is not visual can be music playback which plays music in the background regardless of other Activity nodes.
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.
Use the Content Layout 2D node to present content in a 2D UI control as a single item.
You can use the Content Layout 2D node to create a control that adapts to the size of its content,
or a control where the content adapts to the size of the control.
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:
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.
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.
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.
When this property is enabled, Kanzi remembers the last-focused node in this Activity and sets the key focus to that node when you activate this Activity again. This is the default.
When you do not want Kanzi to remember the last-focused node in this Activity, disable this property.
Legacy version of enum “kanzi.ActivityConcept.Status”.
Defines possible states of an Activity.
Activity Host nodes can activate and deactivate their child Activities.
This enumeration defines the possible states of an Activity during the
the process of activation and deactivation.
You can use this functionality to react to changes in Activity status in
your application code and in Kanzi Studio.
See: Activity, StatusProperty
Use the Content Layout nodes to present complex content as one element in the UI.
You can use a Content Layout node to create a control that adapts to the size of its content,
or a control where the content adapts to the size of the control.