Pointer Namespace

Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.

Index

Enumerations

Types

Properties

Types

Intersection

Intersection: object

Type declaration

  • floorId: number | undefined
  • floorIndex: number | undefined

    floorIndex is only defined when the intersected object is MODEL.

  • normal: Vector3
  • object: Pointer.Colliders
  • position: Vector3

Properties

intersection

An observable intersection data object that can be subscribed to.

mpSdk.Pointer.intersection.subscribe(function (intersectionData) {
 // Changes to the intersection data have occurred.
 console.log('Intersection position:', intersectionData.position);
 console.log('Intersection normal:', intersectionData.normal);
});