大约有 2,026 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0087 秒)
Laya_社区(1452) Laya3.0_api(361) Laya3.0_文档(63) Laya2.0_文档(44) Laya_示例(34) Laya2.0_api(26) laya_api(26) Laya2.0_示例(20)
...的加载方式 第一次发,不足之处还请见谅 class RES extends Laya.EventDispatcher{ // 资源组 public static groups: any; // 资源 public static resources: any; // 完成加载资源配置文件 public static ONLOADEDRESJSON: string = "onLoadedResJson"; // 资源配置文件加载出...
来源: Laya_社区 发布时间: 20161011
...提高程序的运行速度和稳定性。 接下来,我们来看看在LayaAir中是如何使用对象池(Pool)的。 二、对象池 Pool Pool 是对象池类,用于对象的存贮、重复使用。合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃圾回收...
来源: Laya3.0_文档 发布时间: 20251010
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ViewStack" ViewStack Class ViewStack ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Hierarchy Box ...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors construct...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRRenderTexture" WebXRRenderTexture Class WebXRRenderTexture author miner 类用来创建WebXRRenderTexture Hierar...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/View" View Class View View 是一个视图类 在2.0里,View继承自Scene类,但这是不合理的,Scene是一个2D+3D的...
来源: Laya3.0_api 发布时间: 20231115
...的链接 提交 2 个回复 183*****755 赞同来自: 截止发布的1.7.9layaAir还未封装挂点相关的接口,月底前发布的1.8.0会支持此功能。 暂时解决方案,在unity中获取你想要挂点的骨骼,在该骨骼下创建空节点。代码中可以一直获取该空节点...
来源: Laya_社区 发布时间: 20170821
怎么对动画进行毎帧侦听? ani.on(Laya.Event.COMPLETE, this, _OnComplete); function _OnComplete() { var bounds = ani.getGraphicBounds(); console.log(bounds.width); console.log(bounds.height); } 这样的话获取动画宽高 还是只会取到第一帧宽高 并没有办...
来源: Laya_社区 发布时间: 20170704
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "Laya3D" Laya3D Class Laya3D Laya3D 类用于初始化3D设置。 Hierarchy Laya3D Index Accessors enablePhysics Methods createRenderObjI...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/OpenDataContextView" OpenDataContextView Class OpenDataContextView 微信开放数据展示组件,直接实例本组件,即...
来源: Laya3.0_api 发布时间: 20231115