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
- EmitPath
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 EventPath.
Parameters
-
eventPath: Scene.EventPath
Returns void
-
disable
-
Disable
this.emit
and the associated Component'snotify
Returns void
emit
-
Emit the event associated with this path. This is similar to IComponent.notify
Parameters
-
payload: T
Returns void
-
enable
-
Enable
this.emit
and the associated Component's ability tonotify
Returns void
A path to a component's emit property