• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 26 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0068 秒)

11. laya.display.Animation_API3.0 [ 63%]

...配置文件中读取,value为对应的动画模版,是一个Graphics对象数组,每个Graphics对象对应一个帧图像,动画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用...

来源: Laya3.0_api 发布时间: 20231115

12. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...D),其核心作用仅是通过ID关联组件,不包含任何数据或对象属性。这种设计旨在实现彻底的数据与逻辑解耦。 在LayaAir引擎中,基础的游戏对象是节点(Node),开发者的组件脚本都是基于节点对象或继承于节点的对象添加的。...

来源: Laya3.0_文档 发布时间: 20251010

13. laya.display.AnimationPlayerBase [ 53%]

...模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...

来源: laya_api 发布时间: 20170929

14. laya.display.AnimationBase [ 52%]

...模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...

来源: Laya2.0_api 发布时间: 20190513

15. laya.display.FrameAnimation [ 50%]

...模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...

来源: laya_api 发布时间: 20170929

16. 【简单跑酷--JS版】---Lv.3 添加地板 [ 50%]

...功能? 1、自身从右到左运动 超出左边边界 就移除存入对象 2、地板上可以添加东西  (function(){ /** * 地板类 */ function Floor(){ Floor.__super.call(this); } //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _prot...

来源: Laya_社区 发布时间: 20160728

17. laya.display.FrameAnimation [ 49%]

...模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...

来源: Laya2.0_api 发布时间: 20190513

18. laya.physics.ColliderBase_API3.0 [ 49%]

...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

19. laya.physics.CircleCollider_API3.0 [ 45%]

...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

20. laya.physics.EdgeCollider_API3.0 [ 45%]

...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