Settings for configuring a motion controller.

const MotionControllerModule = require("LensStudio:MotionControllerModule")
let options = MotionController.Options.create()
options.motionType = MotionController.MotionType.ThreeDoF
const motionController = MotionControllerModule.getController(options)

Hierarchy (View Summary, Expand)

Constructors

Properties

controllerId: string

The unique identifier to connect to a motion controller. The only value currently supported is empty (""), which will result in the Mobile Controller being requested.

motionType: MotionType

Represents the motion type of the motion controller.

Methods

  • Returns true if the object matches or derives from the passed in type.

    Parameters

    • type: string

    Returns boolean

  • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

    Parameters

    Returns boolean

MMNEPVFCICPMFPCPTTAAATR