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

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

631. 灯光-方向光 [ 76%]

...res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 40, 70); }); var _quaternion = new Laya.Quaternion...

来源: Laya_示例 发布时间: 20251209

632. laya.d3.core.Camera_API3.0 [ 76%]

...Children addCommandBuffer addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAn...

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

633. 在Test中有个按钮点击,那么我如何发信号,使得这个点击能给控制Sample中的对象,如何调用函数 [ 76%]

...你可以通过自定义事件来实现,在点击按钮时,发送一个event自定义事件,在Sample中对该事件进行监听package { import laya.events.EventDispatcher; public class Mod extends EventDispatcher { public function Mod() { super(); } private static var _instance:Mod; public s...

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

634. 加载lh格式模型报错 [ 76%]

...file:///D:/LayaAirProjects/myFirstLaya/bin/libs/laya.d3.js:30899:17)   at EventHandler.runWith (file:///D:/LayaAirProjects/myFirstLaya/bin/libs/laya.core.js:999:38)   at Loader.event (file:///D:/LayaAirProjects/myFirstLaya/bin/libs/laya.core.js:1038:42)   at Loader.complete (file:///D:/LayaAirPro...

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

635. laya.ui.Slider [ 76%]

...All Classes | Index | Frames No Frames SliderProperties | Methods | Events Packagelaya.uiClasspublic class SliderInheritanceSlider UIComponent Sprite Node EventDispatcher ObjectSubclasses HSlider, VSlider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来...

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

636. 分享:IDE使用SWF动画的销毁与反复创建 [ 76%]

...:IDE使用SWF动画的销毁与反复创建 package {     import laya.events.Event;     import laya.net.Loader;     import laya.utils.Handler;     import view.TestView;          public class LayaUISample {                  public function LayaUISample() {        ...

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

637. request failed status:0 text: IOS HttpRequest [ 76%]

...erId:"533", } alert(JSON.stringify(data)); hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); var headers = []; headers.push("Content-Type"); headers.push("application/jso...

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

638. laya.ui.List [ 76%]

...| All Classes | Index | Frames No Frames ListProperties | Methods | Events Packagelaya.uiClasspublic class ListInheritanceList Box Component Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定...

来源: laya_api 发布时间: 20170929

639. 如何在layaair 上使用get方法的xml ,获得节点属性? [ 76%]

...               hr = new HttpRequest();             hr.once(Event.PROGRESS, this, onHttpRequestProgress);             hr.once(Event.COMPLETE, this, onHttpRequestComplete);             hr.once(Event.ERROR, this, onHttpRequestError);             hr.send(NameJo...

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

640. 关于设置动画轴心点问题 [ 76%]

...ueying 赞同来自: 东南西北风    先为你的Animation添加一个Event.LOADED事件,在资源加载完成后通过getBounds来获取Animation的宽高,设置pivot轴心点为width/2,height/2,同时设置pos值为pivot值的相反值即可。如果pos已经设置过,将pos现有...

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