Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.
Hierarchy
-
object
- SceneComponentOptions
Indexable
Index
Properties
[Component.AMBIENT_LIGHT]
[Component.CAMERA]
Type declaration
-
Optional camera?: Camera | null
-
Optional enabled?: undefined | false | true
If true, this components acquires control of the camera.
Default
false
[Component.DAE_LOADER]
[Component.DIRECTIONAL_LIGHT]
[Component.FBX_LOADER]
[Component.GLTF_LOADER]
[Component.INPUT]
Type declaration
-
Optional events
Enabled?: undefined | false | true If true, events will be available for binding or spying. If false, no events will fire.
Default
true
-
Optional unfiltered?: undefined | false | true
If set to false, the input component will only receive unhandled events.
Default
true
-
Optional user
Navigation Enabled?: undefined | false | true If set to false, all showcase user based navigation will be turned off.
Default
true
[Component.OBJ_LOADER]
[Component.POINT_LIGHT]
[Component.TRANSFORM_CONTROLS]
Type declaration
-
Optional mode?: "translate" | "rotate" | "scale"
The transformation mode.
Default
translate
-
Optional selection?: Scene.INode | null
The node being controlled by this component.
Default
null
(hidden) -
Optional showX?: undefined | false | true
X axis control visibility.
Default
true
-
Optional showY?: undefined | false | true
Y axis control visibility.
Default
true
-
Optional showZ?: undefined | false | true
Z axis control visibility.
Default
true
-
Optional size?: undefined | number
The size of the transform control.
Default
1
-
Optional visible?: undefined | false | true
If true the transform control is visible in the scene.
Default
true
A three.js camera object.
Default
null