大约有 299 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0075 秒)
...stage.scaleMode = Stage.SCALE_FULL; //显示统计数据 Stat.show(); //给舞台添加laya3d场景 var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; //初始化照相机 var camera:Camera = scene.addChild(new Camera()) as Camera; camera.transform.position = new Vector3(0, 3, 3); camera.t...
来源: Laya_社区 发布时间: 20161223
...默认值为0。以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite SUPPORT...
来源: Laya2.0_api 发布时间: 20190513
...herited from AnimationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此...
来源: Laya3.0_api 发布时间: 20231102
...Value 来让外部控制 能量条的 进度 我们把能量条都添加到舞台上面吧~~ 打开runGame.js(function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; this.flyEnergy = null; this.speedEnergy = null; RunGame.__super.call(this); ...
来源: Laya_社区 发布时间: 20160803
...herited from AnimationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此...
来源: Laya3.0_api 发布时间: 20231102
...{ //加载完成后,把加载回调中返回的完整场景scene添加到舞台 Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); /** ** 省略其它代码若干,可前往Layabox官网示例或相关文档中查看 */ })); ``` ##### 5.2.2 预设的...
来源: Laya2.0_文档 发布时间: 20210714
...herited from AnimationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此...
来源: Laya3.0_api 发布时间: 20231102
...andler.create(null, function (_Scene3D: Laya.Scene3D) { //添加3D场景到舞台 Laya.stage.addChild(_Scene3D); let _camera = _Scene3D.getChildByName("Main Camera") as Laya.Camera; _camera.clearFlag = Laya.CameraClearFlags.Sky; //从场景中找到圆柱对象 let _cylinder = _Scene3D.getChildByNam...
来源: Laya2.0_文档 发布时间: 20210715
...herited from AnimationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此...
来源: Laya3.0_api 发布时间: 20231102