大约有 283 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)
...structor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns HBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraph...
来源: Laya3.0_api 发布时间: 20231115
...enu Globals "laya/display/Scene" Scene Class Scene 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Hierarc...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...ject 异步Dialog的生命周期:show或者popup > onCreate(如果没有创建过) > onOpen > onClose > onDestroy(如果销毁) onCreate在页面未创建时执行一次,再次打开页面不会再执行,适合写一些只执行一次的逻辑,比如资源加载,节点事件监...
来源: laya_api 发布时间: 20170929
...ited from Component.constructor Defined in laya/components/Component.ts:44 创建一个新的 Component 实例。 Returns Widget Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = tru...
来源: Laya3.0_api 发布时间: 20231102
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: laya_api 发布时间: 20170929
...Sprite添加阴影属性无效 Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 九宫格设置无效。 问题状态 最新活动: 2024-11-09 14:28 浏览: 5745 关注: 3 人 136*****142 • 2024-11-08 09:56 前面内容不能编辑了,我借个楼 -----------------------------...
来源: Laya_社区 发布时间: 20241104
...用owner的destory方法,在new出来的Sprite里添加脚本时脚本被创建成功了,但是sprite被添加到场景后却没有走到脚本里的onActive等方法里面,断点看我写的组件脚本在我的sprite里面无法被唤醒,不知道是为什么,难道组件不能这么手...
来源: Laya_社区 发布时间: 20181122
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513