Replies: 3 comments 1 reply
|
The directive is being used like this (which worked with @angular-three) <ngt-canvas webvr [sceneGraph]="Scene" /> |
1 reply
|
Thanks. The following code is now working great const scene = this.store.get('scene');
// wait a couple of frames for GL to be ready
this.store.select('gl').subscribe(gl => {
document.body.appendChild(VRButton.createButton(gl));
this.webvr.start(gl.xr, scene, this.referenceSpaceType);
}); |
0 replies
|
How to do now that its changed to using Signals? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In the following code, gl is undefined. scene is fine. What am I missing?
All reactions