JCPalmer Posted March 31, 2015 Share Posted March 31, 2015 I wanted to remove my 2nd camera from a scene and only add it back when it was needed. There is a public method removeCamera(), but it is not in the babylon.x.x.d.ts. In fact, there is a whole bank of methods not available. Is there a way other than either disposing & recreating, or not using typescript? Missing bank:public addMesh(newMesh: AbstractMesh) public removeMesh(toRemove: AbstractMesh): number public removeLight(toRemove: Light): number public removeCamera(toRemove: Camera): number public addLight(newLight: Light) public addCamera(newCamera: Camera) Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.