If disabled, the Component will stop enacting its behavior.
ReadonlyisReturns true if this Component, its SceneObject, and all of that SceneObjects parents are enabled.
When enabled, interaction events will be invoked only on the"closest" object, where order is defined by distance from camera and camera render order.
ReadonlyisReturns whether the user is currently gazing at the object on wearable devices, and when the user is touching on mobile devices.
ReadonlyisReturns whether the user is currently selecting and gazing at an object on wearable devices, or touching it on mobile devices.
ReadonlyonTriggered when the user double taps on the screen.
ReadonlyonOn mobile devices, this is triggered when the user releases their touch. On wearable devices, this is triggered when the user looks away from the current object.
ReadonlyonOn mobile devices, this is triggered when the user starts touching. On wearable devices, this is triggered when the user gazes on the current object.
ReadonlyonGets called when hover events are passed to the lens.
ReadonlyonGets called when hover events are finished.
ReadonlyonGets called when hover event is initially triggered.
ReadonlyonTriggered when the user ends a tap and hold.
ReadonlyonTriggered when the user begins to tap and hold.
ReadonlyonTriggered when the pan ends.
ReadonlyonTriggered when the user is panning.
ReadonlyonTriggered when the user starts to pan across the screen.
ReadonlyonTriggered when the user ends the pinch.
ReadonlyonTriggered when the user is pinching the screen.
ReadonlyonTriggered when the user pinches the screen.
ReadonlyonGets called when user scrolls on screen.
ReadonlyonGets called when scroll ends.
ReadonlyonGets called when scroll begins.
ReadonlyonOn mobile devices, this is triggered when the user releases their touch. On wearable devices, this is triggered when the user stops touching the current object.
ReadonlyonOn mobile devices, this is triggered when the user starts touching the current object. On wearable devices, this is triggered when the user touches the touchpad while focusing on an object.
ReadonlyonTriggered when the user taps on the screen.
ReadonlyonTriggered when a touch event ends.
ReadonlyonTriggered when a touch position on the screen is moved.
ReadonlyonTriggered when a touch event starts--either on the screen or on a touchpad. On wearables with touchpad, the coordinate returned are based on the touchpad and not the screen.
ReadonlyonGets called when the user triggers the primary input on their device. For example touch on touch screens.
ReadonlysceneThe SceneObject this component is on.
ReadonlyuniqueAdds a MeshVisual as a target for interaction detection.
Adds a touch type that this component will ignore.
Destroys the component.
Returns the minimum bounding box size used for detecting touches. Value range is from [0-1], relative to screen width.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Removes a MeshVisual as a target for interaction detection.
Sets the minimum bounding box size used for detecting touches. Value range is from [0-1], relative to screen width.
Enables invoking touch interactions with a BaseMeshVisual rendered to specific Camera.
Remarks
Sometimes touch events within lens may collide with Snapchat touch events. To avoid this use Touch Blocking.
See
Example