This article lists actions shared by most (if not all) assets and collections. Keep in mind that interface assets can also have a set of associated actions. For an introduction to triggers and actions, see this article
Opening the Actions view
Actions are selected and configured in the Actions view of the "Triggers and Actions - Details" panel of Intuiface Composer. The Actions view is accessed by first opening the Triggers view. To open the Triggers view, use any of the following three methods:
- Left clicking any item in the scene then either
- Clicking the "Triggers and Actions" button in the upper right-hand corner of Composer.
- This will open the "Triggers and Actions - Details" panel.
- Click the "Add a Trigger" option to add a new trigger for item you originally selected.
OR
- Pressing the icon - or pressing Ctrl+Q on your keyboard - to open the Quick Properties pop-up then clicking the "Add a trigger" option.
- Clicking the "Triggers and Actions" button in the upper right-hand corner of Composer.
- Right-clicking any item in the scene and then selecting the "Add a trigger" option.
Once the Triggers view is visible, select the Then clause at the top of the "Triggers & Actions - Details" panel to display the Actions view.
Usage sample with an animation
You can learn more about animations here. Below is an example of 2 common actions called on a scene trigger.
Experience actions
These actions are global to the experience and can be found when selecting the experience itself in the Scene Structure panel.
Overall experience
- Call URL: Call any GET Web Service method. Exclusive to Player on Windows (and Composer). See the Call URL article for details.
- Exit: Exit the running experience. If the experience is running in Player, Player will be exited as well.
- Flip Screen: Rotates the entire Intuiface experience by 180 degrees. Typically used with table-mounted displays around which people could be sitting on opposite sides.
- Launch application: Run any locally installed application and pass in predefined parameters. Exclusive to Player on Windows (and Composer). See the Launch Application article for details.
Scene actions
- Drawing: Let you use all of the Drawing actions described on the Drawing Tool article.
-
Scene:
- Create Asset: Create an asset located at a specified URI and open it at a given position and orientation
- Reload: Reload the scene
- Hide Asset: Hide an asset identified using its Name property
- Show Asset: Show an asset identified using its Name property
-
Snapshot:
- Take Snapshot: Takes a picture of the asset/collection as it currently appears and creates an image. This snapshot image will have a "Save to sharing queue" button on it.
-
Visibility & Effects:
- Apply background effects: Apply visual effects on this scene's background
Text input keyboard
- Change keyboard language: Identify the keyboard layout and keys based on a language selection.
-
Orientation
- Rotate by: Rotate the keyboard by a specified angle from the starting orientation.
- Rotate to: Rotate the keyboard to a specified angle, ignoring the starting orientation.
-
Position
- Move by: Move the keyboard a specified number of pixels along the x and y axis away from the starting position.
- Move to: Move the keyboard a specified screen location, ignoring the starting position.
Common Action Categories for Assets and Collections
Container
- If item/collection is set to Free or Pinnable
- Maximize Maximize this asset/collection
- Minimize Minimize this asset/collection
- Normal Resize this asset/collection to its normal state
- Toggle maximize Switch between this asset/collection's maximized state and its latest non-maximized state
- Toggle minimize Switch between this asset/collection's minimized state and its latest non-minimized state
- If item/collection is set to Static (which is the default state)
- Set as not visible to interactivity When selected, the item/collection will permit touches to pass through to anything below it on the z axis, as if the item/collection was not there.
- Set as visible to interactivity When selected, the item/collection will capture touch events, preventing anything below it to see the touch.
- Toggle visibility to interactivity Toggle between visible and invisible to interactivity.
Position, Size and Orientation
-
Move, resize & rotate Move, resize and rotate this asset/collection to a specified position, size and orientation
- X and Y parameters: The new x,y coordinate of the center point of the asset/collection
- Angle parameter: The new rotational angle of the asset/collection
- Width and Height parameters: The new width and height of the asset/collection
-
Orientation
-
Rotate by Rotate this asset/collection by a given angle
- Angle offset parameter: The number of degrees through which the asset/collection should be rotated
-
Rotate to Rotate this asset/collection to a specific orientation
- Angle parameter: The new rotational angle of the asset/collection
-
Rotate by Rotate this asset/collection by a given angle
-
Position
-
Move by Move this asset/collection by a given offset
- X offset parameter: The number of pixels on the x axis in which the asset/collection should be moved
- Y offset parameter: The number of pixels on the y axis in which the asset/collection should be moved
-
Move to Move this asset/collection to a specified location
- X and Y parameters: The new x,y coordinate of the center point of the asset/collection
-
Move by Move this asset/collection by a given offset
-
Size
-
Resize by factor Resize this asset/collection by a specified factor
- Scale factor parameter: The percentage increase or decrease in size. A value of 1 is equal to 100%.
-
Resize to factor Resize this asset/collection to a specified factor
- Scale factor parameter: The new size in relation to this asset/collection's original size. A value of 1 is equal to 100%.
-
Set size Set the size of this asset/collection
- Width and Height parameters: The new width and height of the asset/collection
-
Resize by factor Resize this asset/collection by a specified factor
-
Z Order
- Move to front Move this asset/collection in front of all other items in the same layer or same Group/Pinboard collection
- Send to back Move this asset/collection behind all other items in the same layer or same Group/Pinboard collection
Snapshot
- Take snapshot: Takes a picture of the asset/collection as it currently appears and creates an image. This snapshot image will have a "Save to sharing queue" button on it.
NOTE: the "Take Snapshot" action is only supported on Windows devices.
Images in the sharing queue can be sent as email attachments, saved to the local file system or saved to a USB drive.
Visibility & Effects
-
Effects
-
Apply effects Apply visual effects to this asset/collection
- Blur, Grayscale, Sepia, Hue rotation, Brightness parameters - The new visual settings for this asset collection. See this article for more information about these visuall effects settings.
-
Set opacity Set the opacity of this asset/collection
- Opacity parameter: The new opacity value for this asset/collection
-
Apply effects Apply visual effects to this asset/collection
-
Visibility
-
Hide Hide this asset/collection with or without animation.
- Show everything else parameter: If selected, everything else in the same layer or Group/Pinboard collection will be shown when this asset/collection is hidden
-
Show Show this asset/collection with or without animation.
- Hide everything else parameter: If selected, everything else in the same layer or Group/Pinboard collection will be hidden when this asset/collection is shown
-
Show at location Show this asset/collection centered at a specific location with or without animation.
- X and Y parameters: The new x,y coordinate of the center point of the asset/collection
- Hide everything else parameter: If selected, everything else in the same layer or Group/Pinboard collection will be hidden when this asset/collection is shown
-
Toggle visibility Show this asset/collection if hidden, hide it if shown.
- Apply opposite visibility to everything else parameter: If selected, perform the opposite hide/show action for everything else in the same layer or same Group/Pinboard collection.
-
Hide Hide this asset/collection with or without animation.
Known Limitations
- Delayed actions set on assets in a DataFeed will not be executed if the DataFeed's parent collection is hidden or becomes hidden before the action sequence is completley executed. As soon as the collection containing a DataFeed becomes hidden, its assets and the associated actions will be unloaded from memory. The following image ilustrates an asset which has a first action to hide its master collection. In this case other following actions (actions marked with the red rectangle) will not be executed.
- Show/Hide actions with animated animation will not be executed if the executing trigger fires the action before the target is loaded.
- Open Item actions will not work on a datafeed master component.
- When fired from an experience level trigger or Interface Asset, the Start time (animation delay property) will not be taken into account when using bindings on scene elements.
Comments
0 comments
Article is closed for comments.