大约有 26 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0068 秒)
...配置文件中读取,value为对应的动画模版,是一个Graphics对象数组,每个Graphics对象对应一个帧图像,动画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用...
来源: Laya3.0_api 发布时间: 20231115
...D),其核心作用仅是通过ID关联组件,不包含任何数据或对象属性。这种设计旨在实现彻底的数据与逻辑解耦。 在LayaAir引擎中,基础的游戏对象是节点(Node),开发者的组件脚本都是基于节点对象或继承于节点的对象添加的。...
来源: Laya3.0_文档 发布时间: 20251010
...模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...
来源: laya_api 发布时间: 20170929
...模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...
来源: Laya2.0_api 发布时间: 20190513
...模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...
来源: laya_api 发布时间: 20170929
...功能? 1、自身从右到左运动 超出左边边界 就移除存入对象池 2、地板上可以添加东西 (function(){ /** * 地板类 */ function Floor(){ Floor.__super.call(this); } //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _prot...
来源: Laya_社区 发布时间: 20160728
...模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...
来源: Laya2.0_api 发布时间: 20190513
...e fixture: any Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody...
来源: Laya3.0_api 发布时间: 20231115
...erBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点...
来源: Laya3.0_api 发布时间: 20231115
...erBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点...
来源: Laya3.0_api 发布时间: 20231115