|
|
@ -26,7 +26,7 @@ export class Game { |
|
|
|
this.scene = new Scene(this.engine); |
|
|
|
this.scene = new Scene(this.engine); |
|
|
|
this.scene.useRightHandedSystem = true;//使用右手坐标系
|
|
|
|
this.scene.useRightHandedSystem = true;//使用右手坐标系
|
|
|
|
RenderingManager.MIN_RENDERINGGROUPS = -1;//最小渲染序列
|
|
|
|
RenderingManager.MIN_RENDERINGGROUPS = -1;//最小渲染序列
|
|
|
|
|
|
|
|
// Engine.DefaultLoadingScreenFactory() //尝试更改canvas
|
|
|
|
this.createScene(); |
|
|
|
this.createScene(); |
|
|
|
let scene = this.scene; |
|
|
|
let scene = this.scene; |
|
|
|
// canvas.translate = true; //用于设置背景透明
|
|
|
|
// canvas.translate = true; //用于设置背景透明
|
|
|
|