|
|
@ -100,6 +100,14 @@ export class Viewer
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return this._Scene;
|
|
|
|
return this._Scene;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set Scene(s: Scene)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
this._Scene = s;
|
|
|
|
|
|
|
|
this.RenderPass.scene = s;
|
|
|
|
|
|
|
|
this.OutlinePass.renderScene = s;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
get Camera()
|
|
|
|
get Camera()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return this.CameraCtrl.Camera;
|
|
|
|
return this.CameraCtrl.Camera;
|
|
|
|