threepipe
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

DeviceOrientationControlsPlugin.ts 474B

12345678910
  1. import {ACameraControlsPlugin} from '../base/ACameraControlsPlugin'
  2. import {TControlsCtor} from '../../core'
  3. import {DeviceOrientationControls2} from '../../three'
  4. export class DeviceOrientationControlsPlugin extends ACameraControlsPlugin {
  5. public static readonly PluginType = 'DeviceOrientationControlsPlugin'
  6. readonly controlsKey = 'deviceOrientation'
  7. protected _controlsCtor: TControlsCtor = (object, _domElement)=> new DeviceOrientationControls2(object)
  8. }