XRControllerModelFactory.d.ts 469 B

1234567891011121314151617181920212223
  1. import {
  2. Group,
  3. Object3D,
  4. Texture
  5. } from '../../../src/Three';
  6. import { GLTFLoader } from '../loaders/GLTFLoader';
  7. export class XRControllerModel extends Object3D {
  8. constructor( );
  9. motionController: any;
  10. setEnvironmentMap( envMap: Texture ): XRControllerModel;
  11. }
  12. export class XRControllerModelFactory {
  13. constructor( gltfLoader?: GLTFLoader );
  14. gltfLoader: GLTFLoader | null;
  15. path: string;
  16. createControllerModel( controller: Group ): XRControllerModel;
  17. }