webXRGenericMotionController.d.ts 1015 B

1234567891011121314151617181920212223
  1. import type { IMinimalMotionControllerObject, MotionControllerHandedness } from "./webXRAbstractMotionController";
  2. import { WebXRAbstractMotionController } from "./webXRAbstractMotionController";
  3. import type { AbstractMesh } from "../../Meshes/abstractMesh";
  4. import type { Scene } from "../../scene";
  5. /**
  6. * A generic trigger-only motion controller for WebXR
  7. */
  8. export declare class WebXRGenericTriggerMotionController extends WebXRAbstractMotionController {
  9. /**
  10. * Static version of the profile id of this controller
  11. */
  12. static ProfileId: string;
  13. profileId: string;
  14. constructor(scene: Scene, gamepadObject: IMinimalMotionControllerObject, handedness: MotionControllerHandedness);
  15. protected _getFilenameAndPath(): {
  16. filename: string;
  17. path: string;
  18. };
  19. protected _getModelLoadingConstraints(): boolean;
  20. protected _processLoadedModel(meshes: AbstractMesh[]): void;
  21. protected _setRootMesh(meshes: AbstractMesh[]): void;
  22. protected _updateModel(): void;
  23. }