Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.
Type parameters
-
T
Hierarchy
-
Scene.PathBase
- EventPath
Index
Properties
Readonly id
The id of this path. Set to a random string, or the id provided when creating the path
Readonly object
The object this path is associated with
Methods
bind
-
Bind this path to an EmitPath.
Parameters
-
emitPath: Scene.EmitPath
Returns void
-
disable
-
Disable
this.emit
and the associated Component'sonEvent
from being triggeredReturns void
emit
-
Emit the event associated with this path. This is similar to calling IComponent.onEvent directly.
Parameters
-
payload: T
Returns void
-
enable
-
Enable
this.emit
and the associated Component'sonEvent
so it can receive the event againReturns void
A path to a component's event property