Material Type¶
Material Type properties¶
Name |
Description |
Inherited |
Exported to Kanzi Engine |
---|---|---|---|
Property Types |
The property types whose properties can be edited in the materials of this material type |
No |
No |
Preprocessor Defines |
Preprocessor defines to be added for shader source |
No |
No |
Uniforms |
The uniform attributes the shader uses to render the material. Uniforms with FIXED_UNIFORM source type have reserved names and are supplied to the shader by Kanzi engine. Uniforms with PROPERTY_TYPE source type are specified using the properties in the materials. Uniforms with NO_SOURCE source type do not have a source specified; use Sync with Uniforms button to fix that. |
No |
No |
Attributes |
The vertex attributes the shader expects to find from the vertex buffer of the models that are associated with materials of this material type. For example, this includes the position, normal, and texture coordinates of the vertices. If the names of the attributes in models do not match the names of the attributes in the shader, you must manually map the names. |
No |
No |
Material Type available properties¶
Name |
Description |
Inherited |
Exported to Kanzi Engine |
---|---|---|---|
Description |
Add a description of the purpose of this item. To export descriptions to a plain text file, select File > Export > Export Descriptions. When you export the kzb file, this description is not included in the exported file. |
No |
No |
Is Used by Code |
Whether or not the application code uses this asset. Used for determining unused assets. |
No |
No |
Keep Alive Behavior |
The keep-alive behavior of this resource. Can be used to deny unloading of the resource. |
No |
No |
Shader Version |
Sets the OpenGL ES version in the shaders of this material type. The value of this property overrides the #version directive in the shader source files. When you do not set this property, Kanzi uses the #version directive in the shader source files. |
No |
No |
Visibility Across Projects |
Sets whether this resource is available to referencing projects: - Project setting uses the value of the Resource Visibility Across Projects property of the project. - Private makes the resource available only to this project. - Public makes the resource available in the dropdown menus of referencing projects. |
No |
No |
Material Type messages¶
Name |
Description |
Inherited |
Exported to Kanzi Engine |
---|---|---|---|
Activity Host: Activity Prefab Attached |
An Activity Host sends this message when it attaches the prefab of the Activity that is activated. |
No |
Yes |
Activity Host: Activity Prefab Detached |
An Activity Host sends this message when it detaches the prefab of the Activity that is deactivated. |
No |
Yes |
Activity: Activated |
An Activity sends this message when it is activated. |
No |
Yes |
Activity: Activating |
An Activity sends this message when it is in the activating state. |
No |
Yes |
Activity: Deactivated |
An Activity sends this message when it is deactivated. |
No |
Yes |
Activity: Deactivating |
An Activity sends this message when it is in the deactivating state. |
No |
Yes |
Activity: Status Changed |
An Activity sends this message when the value of its Activity Status property changes. |
No |
Yes |
Animation Player: Completed |
Occurs when animation player completes animation playback. |
No |
Yes |
Animation Player: Started |
Occurs when animation player starts animation playback. |
No |
Yes |
Animation Player: Stopped |
Occurs when animation player stops animation playback. |
No |
Yes |
Button: Cancel |
Occurs when a user lifts their finger outside of a Button that they previously pressed. |
No |
Yes |
Button: Click |
Occurs when a user lifts their finger on top of a Button that they previously pressed and when the time set by the Auto Press Interval property in the pressed Button expires. |
No |
Yes |
Button: Down |
Occurs when the user presses down the Button. |
No |
Yes |
Button: Enter |
Button: Enter trigger is set off: - When the user presses down the button. - When the user presses down the button, moves the pointer outside of the button area, and then moves the pointer back to the button area while still holding down the pointer. |
No |
Yes |
Button: Leave |
Button: Leave trigger is set off: - When the user presses down the button and then lifts the pointer. - When the user presses down the button and then moves the pointer outside of the button area. - When the user sets off a Button : Long Press trigger. |
No |
Yes |
Button: Long Press |
Occurs when the user presses down a Button and holds the Button pressed for the amount of milliseconds defined in the Hold Interval property of that Button. |
No |
Yes |
Click: Begin |
Occurs when the user presses a hit-testable node with a Click Manipulator. You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes. |
No |
Yes |
Click: Cancel |
Occurs when the user first presses a hit-testable node with a Click Manipulator, then moves the pointer outside of the node area, and lifts the pointer. You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes. |
No |
Yes |
Click: Click |
Occurs when the user presses and releases a hit-testable node with a Click Manipulator, while the pointer is still within the node area and Kanzi does not recognize another gesture. You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes. |
No |
Yes |
Click: Enter |
Occurs when the user presses a hit-testable node with a Click Manipulator and then every time the user moves the pointer on top of that node while still holding down the pointer. You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes. |
No |
Yes |
Click: Leave |
Occurs when the user presses a hit-testable node with a Click Manipulator and then every time the user moves the pointer outside of that node. You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes. |
No |
Yes |
Command: Command |
Command message arguments |
No |
Yes |
Data Trigger |
Monitors changes in properties and data source values. Use a Data Trigger to apply an action to either set a property value of a target node or activate an Activity node. |
No |
Yes |
Drag and Drop Manipulator: Drag and Drop Canceled |
Occurs when focus moves away from the node during the drag-and-drop gesture. |
No |
Yes |
Drag and Drop Manipulator: Drag and Drop Finished |
Occurs when the user lifts their finger after starting the drag-and-drop gesture. |
No |
Yes |
Drag and Drop Manipulator: Drag and Drop Moved |
Occurs when the user moves their finger after starting the drag-and-drop gesture. |
No |
Yes |
Drag and Drop Manipulator: Drag and Drop Started |
Occurs when the user holds their finger for 500ms on the node. |
No |
Yes |
Focus: About To Gain Focus |
Kanzi sends this message before a focusable node receives focus. |
No |
Yes |
Focus: About To Lose Focus |
Kanzi sends this message before the focused node loses focus. |
No |
Yes |
Focus: Focus Entered Focus Scope |
When focus enters a focus scope, Kanzi sends this message to the focus scope node that contains the node that gains focus. |
No |
Yes |
Focus: Focus Gained |
Kanzi sends this message to the node that received focus. |
No |
Yes |
Focus: Focus Left Focus Scope |
When focus leaves a focus scope, Kanzi sends this message to the focus scope node that contains the node that loses focus. |
No |
Yes |
Focus: Focus Lost |
Kanzi sends this message to the node that lost focus. |
No |
Yes |
Focus: Input Outside Overlay |
Kanzi sends this message to an overlay focus scope when the application area outside the boundaries of that overlay receives input. |
No |
Yes |
Focus: Overlay Brought To Front |
Occurs when an overlay focus scope becomes the foremost overlay scope in the overlay focus scope stack. |
No |
Yes |
Focus: Overlay Gained Focus |
When an overlay scope gains focus, Kanzi sends this message to the overlay scope node that contains the node that gains focus. |
No |
Yes |
Focus: Overlay Lost Focus |
When an overlay scope loses focus, Kanzi sends this message to the overlay scope node that contains the node that loses focus. |
No |
Yes |
Focus: Overlay Sent To Back |
Occurs when an overlay focus scope is no longer the foremost overlay scope in the overlay focus scope stack. |
No |
Yes |
Focus: Scope Brought To Front (deprecated) |
Occurs when an overlay focus scope is brought to front. Deprecated. Use Overlay Brought To Front instead. |
No |
Yes |
Focus: Scope Sent To Back (deprecated) |
Occurs when a foremost overlay focus scope is sent to back. Deprecated. Use Overlay Sent to Back instead. |
No |
Yes |
Key Input: Key Canceled |
Occurs when Kanzi recognizes a key-canceled gesture. A key-canceled gesture occurs when Kanzi recognizes that the user canceled a gesture. |
No |
Yes |
Key Input: Key Navigation Canceled |
Occurs when the key-pressed gesture is canceled for the navigation direction. |
No |
Yes |
Key Input: Key Navigation Finished |
Occurs when Kanzi recognizes the key-released gesture for the navigation direction. To capture key navigation gestures for a node, create a Navigation Manipulator component in that node. |
No |
Yes |
Key Input: Key Navigation Started |
Occurs when Kanzi recognizes the key-pressed and key repeat gestures for the navigation direction. To capture key navigation gestures for a node, create a Navigation Manipulator component in that node. |
No |
Yes |
Key Input: Key Pressed |
Occurs when Kanzi recognizes a key-pressed gesture. A key-pressed gesture occurs when Kanzi recognizes a key event that contains all the elements that compose that gesture. |
No |
Yes |
Key Input: Key Released |
Occurs when Kanzi recognizes a key-released gesture. A key-released gesture occurs when Kanzi recognizes the release of one of the elements that compose that gesture. |
No |
Yes |
List Box: Item Hidden |
Occurs when an item is unloaded from the working memory. To set how many items you want to keep loaded in the working memory at a time, use the Keep Alive Item Count property. |
No |
Yes |
List Box: Item Selected |
Occurs when an item is selected. |
No |
Yes |
List Box: Item Visible |
Occurs when an item is loaded to the working memory. To set how many items you want to keep loaded in the working memory at a time, use the Keep Alive Item Count property. |
No |
Yes |
List Box: Scroll Finished |
Occurs when the List Box stops scrolling. |
No |
Yes |
List Box: Scroll Started |
Occurs when the List Box starts to scroll. |
No |
Yes |
List Box: Scrolled |
Occurs when the List Box scrolls. |
No |
Yes |
List Box: Target Changed |
Occurs when List Box gets a new target item. |
No |
Yes |
List Box: User Scroll Finished |
Occurs when the application user stops scrolling the List Box. |
No |
Yes |
List Box: User Scroll Started |
Occurs when the application user starts to scroll the List Box. |
No |
Yes |
Long Press: Long Press |
Occurs when the user presses a hit-testable node with a Long-Press Manipulator and holds the press for the time that you set in the Long-Press Manipulator. You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes. |
No |
Yes |
Long Press: Long Press Cancel |
Occurs during the long-press gesture when the user moves the focus away from a hit-testable node with a Long-Press Manipulator. You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes. |
No |
Yes |
Message Trigger |
No |
Yes |
|
Multi-Click: Intermediate Click |
Occurs when the user presses and releases a hit-testable node with a Multi-Click Manipulator that is set to send messages for intermediate clicks. To set a Multi-Click Manipulator to send messages for intermediate clicks, in the Multi-Click Manipulator enable the Send Intermediate Click Messages property. You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes. |
No |
Yes |
Multi-Click: Multi-Click |
Occurs when the user presses and releases a hit-testable node with a Multi-Click Manipulator a specified number of times (default 2) within a set amount of time (default 250 ms) between presses. You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes. |
No |
Yes |
Multi-Click: Multi-Click Canceled |
Occurs during the multi-click gesture when the user moves the focus away from a hit-testable node with a Multi-Click Manipulator. You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes. |
No |
Yes |
On Attached |
This trigger is set off when the item is initialized. For example, when you add a node to the node tree, or enter a state that contains this trigger. |
No |
Yes |
On Property Change |
Occurs when a property is changed |
No |
Yes |
On Timer |
Occurs when timer interval is elapsed |
No |
Yes |
Page Host: Page Navigation Finished |
Page host has finished navigation process. |
No |
Yes |
Page Host: Page Navigation Started |
Page host has started navigation process. |
No |
Yes |
Page: Activated |
Page has been activated. |
No |
Yes |
Page: Deactivated |
Page has been deactivated. |
No |
Yes |
Pan Manipulator: Pan Canceled |
Occurs when focus moves away from the node during the pan gesture. |
No |
Yes |
Pan Manipulator: Pan Entered |
Occurs when the pan gesture enters the node the manipulator is attached to. |
No |
Yes |
Pan Manipulator: Pan Finished |
Occurs when the user lifts their finger after Kanzi recognizes a pan gesture. |
No |
Yes |
Pan Manipulator: Pan Left |
Occurs when the pan gesture leaves the node the manipulator is attached to. |
No |
Yes |
Pan Manipulator: Pan Moved |
Occurs when the user changes the position of their finger and that change exceeds the recognition thresholds. |
No |
Yes |
Pan Manipulator: Pan Started |
Occurs when the user presses down their finger on the node. If the user lifts their finger before exceeding the position change threshold, Kanzi cancels the pan gesture. |
No |
Yes |
Pinch Manipulator: Pinch Canceled |
Occurs when focus moves away from the node during the pinch gesture. |
No |
Yes |
Pinch Manipulator: Pinch Finished |
Occurs when the user lifts their finger after Kanzi recognizes a pinch gesture. |
No |
Yes |
Pinch Manipulator: Pinch Moved |
Occurs when the user changes the position of their finger and that change exceed the scale or rotation threshold. |
No |
Yes |
Pinch Manipulator: Pinch Started |
Occurs when the user presses down their finger. If the user lifts their finger before it exceeds the scale or rotate threshold, Kanzi cancels the pinch. |
No |
Yes |
Prefab View: Asynchronous Load Completed |
Occurs when asynchronous loading of resources from a prefab has been finished. |
No |
Yes |
Property Target Easing Interpolator: Easing Interpolation Completed |
Occurs when Property Target Easing Interpolator completes its interpolation. |
No |
Yes |
Property Target Interpolator: Interpolation Completed |
Occurs when property target interpolator completes interpolation. |
No |
Yes |
Range: Value Change Finished |
Occurs when the range value stops changing. |
No |
Yes |
Range: Value Change Started |
Occurs when the range value starts changing. |
No |
Yes |
Range: Value Changed |
Occurs when the range value has changed. |
No |
Yes |
Scroll View: Scroll Ended |
Occurs when the scroll position of a Scroll View node stops changing. |
No |
Yes |
Scroll View: Scroll Started |
Occurs when the scroll position of a Scroll View node starts changing. |
No |
Yes |
Scroll View: Scroll Zoomed |
Occurs when the zoom level of a Scroll View node changes. |
No |
Yes |
Scroll View: Scrolled |
Occurs when the scroll position of a Scroll View node changes. |
No |
Yes |
Scroll View: Snap Request |
Occurs when a Scroll View node requests snapping target from the hosting component. |
No |
Yes |
Scroll View: User Scroll Ended |
Occurs when the user stops scrolling a Scroll View node. |
No |
Yes |
Scroll View: User Scroll Started |
Occurs when the user starts scrolling a Scroll View node. |
No |
Yes |
State Manager: Entered State |
Occurs when a state manager has entered a state. |
No |
Yes |
State Manager: Left State |
Occurs when a state manager has left a state. |
No |
Yes |
State Manager: Transition Finished |
Occurs when a state manager finishes a transition to a state. |
No |
Yes |
State Manager: Transition Started |
Occurs when a state manager begins a transition to a state. |
No |
Yes |
Text Box: Composition Text Changed |
Occurs when the text produced in an Input Method Editor is updated in a Text Box node. |
No |
Yes |
Text Box: Composition Text Committed |
Occurs: - When the text produced in an Input Method Editor is committed to the cached text in a Text Box node. - When a trigger executes the Commit Composition Text action. |
No |
Yes |
Text Box: Cursor Moved |
Occurs when the user moves the cursor in a Text Box node. |
No |
Yes |
Text Box: Editing Finished |
Occurs when a Text Box node leaves the editing state after the user modified the text content. |
No |
Yes |
Text Box: Editing Started |
Occurs when the user makes the first modification to the text in a Text Box node that is in the editing state. |
No |
Yes |
Text Box: Entered Editing State |
Occurs when a Text Box node enters the editing state. |
No |
Yes |
Text Box: Input Method Action |
Occurs when the user taps the action button on their on-screen keyboard while editing the text in a Text Box node. |
No |
Yes |
Text Box: Input Method Available |
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. |
No |
Yes |
Text Box: Input Method Unavailable |
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. |
No |
Yes |
Text Box: Left Editing State |
Occurs when a Text Box node leaves the editing state |
No |
Yes |
Text Box: Selection Changed |
Occurs when the user changes the text selection in a Text Box node. |
No |
Yes |
Text Box: Selection Cleared |
Occurs when the user clears or resets the text selection in a Text Box node. |
No |
Yes |
Text Box: Selection Started |
Occurs when the user starts selecting text in a Text Box node. |
No |
Yes |
Text Box: Text Changed |
Occurs when the user changes the text in a Text Box node. |
No |
Yes |
Text Box: Text Composition Canceled |
Occurs: - When the text composition in a Text Box node is canceled by Input Method that is in text composition state. - When a trigger executes the Cancel Text Composition action. |
No |
Yes |
Toggle Button Group: Toggled |
Occurs when the toggle state of a Toggle Button node in a Toggle Button Group node changes. |
No |
Yes |
Toggle Button: State Toggled |
Occurs when the toggle state of the Button changes. |
No |
Yes |
Toggle Button: Toggled Off |
Occurs when the Button is toggled off. |
No |
Yes |
Toggle Button: Toggled On |
Occurs when the Button is toggled on. |
No |
Yes |