Wearable Only
A Lens Studio module that provides access to Motion Controller.
const MotionControllerModule = require("LensStudio:MotionControllerModule")let options = MotionController.Options.create()options.motionType = MotionController.MotionType.SixDoFconst motionController = MotionControllerModule.getController(options) Copy
const MotionControllerModule = require("LensStudio:MotionControllerModule")let options = MotionController.Options.create()options.motionType = MotionController.MotionType.SixDoFconst motionController = MotionControllerModule.getController(options)
Get the Motion Controller with the provided options. If no options are provided, default value will be used.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
other
A Lens Studio module that provides access to Motion Controller.
Example