SceneObjectEvent
Lens Studio v1.0.0+
Scripting Name: SceneObjectEvent
Inherits from SceneEvent
Child Classes: ManipulateEndEvent
, ManipulateStartEvent
, TapEvent
, TouchEndEvent
, TouchMoveEvent
, TouchStartEvent
Description
Base class for all object-based Event types in Lens Studio (ManipulateStartEvent, TapEvent, etc.).
Methods
getSceneObject()
: SceneObject
Returns the SceneObject this Event is associated with.
Inherited Methods
bind(function evCallback)
: void
Binds a callback function to this event.
getTypeName()
: String
Returns the typename of the SceneEvent.
getTypeName()
: String
Returns the name of this object’s type.
isOfType(String type)
: Boolean
Returns true if the object matches or derives from the passed in type.
Inherited Properties
enabled
: Boolean
If true, the event is able to trigger. If false, the event will not trigger.
Still Looking for help?
Visit Support