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

大约有 54 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0034 秒)

51. laya.display.Animation_API3.0 [ 26%]

...建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation.x = 200;//设置 animation 对象的属性 x 的值,用于控制 animation 对象的显示位置。 animation.y = 200;//设置 animation 对象的属性 x 的值...

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

52. laya.d3.core.scene.Scene [ 25%]

...nheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示...

来源: laya_api 发布时间: 20170929

53. laya.d3.core.scene.Scene3D [ 25%]

...eritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHie...

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

54. 绘制图形 · LayaAir3.0文档 · LAYABOX [ 16%]

...oint.EMPTY, color)); else return null; } 代码示例: Laya.loader.load("resources/layaAir.png").then((res: Laya.Texture) => { let sp = new Laya.Sprite(); // 绘制填充纹理 sp.graphics.fillTexture(res, 0, 0, 500, 500, "repeat"); this.owner.addChild(sp); }); 运行效果: (图8-2) 九...

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