Create a snapshot
To create a snapshot, you must use the "Take Snapshot" action, which is part of the Common Action Categories for Assets and Collections.
The "Take Snapshot" action will take a picture of the asset/collection as it currently appears and create an image. This snapshot image will have a "Save to sharing queue" button on it.
You can create snapshots in the current scene or any other scene of your experience.
To create a snapshot on another scene, you just need to target the scene you want and use the Create Asset action. You will need to uncheck the "Reset all properties" of that scene; otherwise, the snapshot will be reset upon navigating to another Scene.
NOTES:
- When taking a snapshot, if "create an item when a snapshot is taken" is checked, the created image asset will be added to the topmost layer of the current scene. If the topmost layer of the current scene is not visible, the snapshot will not be visible.
Finding the location of the snapshot on your device
You can find the exact location of the local snapshot files with a simple trigger and action set up. In your scene, insert a Text Input asset. Create a trigger on the scene itself, establishing that "when the snapshot is taken, set the text of Text Input". Bind the new text to the value of the Snapshot URI, which can be found under the source item "trigger 'snapshot is taken'".
After you've set that up, if you play your Experience, it will display the file path that you can copy and paste to lead you directly to where you can find your snapshot.
Send a snapshot via email
When a snapshot of a given asset is taken using the Intuiface drawing tools (only available for Player Classic) it can be sent to a specific email address. This article describes how to send a snapshot via e-mail.
What you need
- Intuiface drawing tools (only available for Player Classic)
These tools enable you to draw on either an image or the full screen. In addition, you can take a snapshot of your work, a snapshot that can then emailed, saved to the local file system or more. - Share via E-mail Interface Asset Intuiface offers two types of email interface assets: one hosted by Intuiface and one enabling you to use your own SMTP server. Both support the following scenario.
- A trigger to take a snapshot of the asset you want to send.
"Snapshot is taken" trigger
At the scene level or directly on an Image Asset, you can use the Snapshot is taken trigger to call the "Send via e-mail" action associated with the Share Via Email interface asset. A property of the Snapshot is taken trigger is the URI of the snapshot image.
Use the value of the URI property to add the snapshot image to the sharing queue using the "Add item to sharing queue" action.
(Click to enlarge)
The "Snapshot is taken" trigger's URI can also be used to replace an existing image within the scene. For this, you may call the "Change image" specific action.
The Intuiface Examples catalog includes two sample experiences that use the Snapshot is taken trigger: PhotoBooth and Garment Customization. Both samples are available for free via the Examples tab of the Experiences panel in Composer.
Comments
0 comments
Article is closed for comments.