大约有 275 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115
...DE里Image组件自带的那张图,我们将宽高改成512*512后, 当舞台上什么显示也没有的时候,初始显存占用是2.31M,使用纹理压缩格式,只增加170K,加上初始大小最终为2.48M。而原图则增加1024K,达到3.31M。如图4-1所示。所以显存优化...
来源: Laya3.0_文档 发布时间: 20231219
...摄像机。 (图1-1) 当我们在写3D游戏的代码时,要先在舞台中添加3D场景,添加3D摄像机。再写其它代码。 摄像机在3D场景中,可以是唯一的,也可以放置多台摄像机,比如,在图1-2的3D场景中出现的弹窗换装面板,或者某些对...
来源: Laya3.0_文档 发布时间: 20230816
...摄像机。 ![](img/1.png) 当我们在写3D游戏的代码时,要先在舞台中添加3D场景,添加3D摄像机。再写其它代码。 摄像机在3D场景中,可以是唯一的,也可以放置多台摄像机,比如在3D场景中出现的弹窗换装面板,或者某些对战游戏的...
来源: Laya2.0_文档 发布时间: 20210714
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115