Skip to content

Commit

Permalink
fix (three): Update WebXRManager
Browse files Browse the repository at this point in the history
setSession should return Promise<void> instead of void since r125
See: mrdoob/three.js#20754
  • Loading branch information
FMS_Cat committed Feb 4, 2021
1 parent e268104 commit 3c5d3cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/three/src/renderers/webxr/WebXRManager.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export class WebXRManager extends EventDispatcher {
setReferenceSpaceType(value: XRReferenceSpaceType): void;
getReferenceSpace(): XRReferenceSpace | null;
getSession(): XRSession | null;
setSession(value: XRSession): Promise<void>;
getCamera(camera: Camera): Camera;
setAnimationLoop(callback: XRFrameRequestCallback): void;
dispose(): void;
Expand Down

0 comments on commit 3c5d3cf

Please sign in to comment.