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

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

751. 高级应用-实时阴影 [ 42%]

...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class RealTimeShadow { private var _quaternion:Quaternion = new Quaternion(); private var scen...

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

752. 安装layaair2-cmd一直失败 [ 41%]

...bin-wrapper\node_modules\got\index.js:182:22)     at Object.onceWrapper (events.js:300:26)     at ClientRequest.emit (events.js:210:5)     at TLSSocket.socketErrorListener (_http_client.js:406:9)     at TLSSocket.emit (events.js:210:5)     at emitErrorNT (internal/streams/destroy.js:92:8) ...

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

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

...(this.x + this.width) < this.maxRight){ this.isOutComplete = true; this.event(Floor.OUT_COMPLETE, this); }else if((this.x + this.width) < 0){ //判断整个floor是否不在屏幕里面了 如果不在了 移除当前floor Laya.timer.clear(this, this.onLoop); this.visible = false; this.event(F...

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

754. 报无法找到资源,未升级ide之前不报错 [ 40%]

...ot;./Scenes/Index.ls"); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } 逸辰 • 2023-07-19 22:53 从启动页进来的,也加载了呀 layabox • 2023-07-26 20:47 @逸辰:请提交可重现Demo,

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

755. zip更新模式缓存是怎么读取的?? [ 40%]

...本:   /** * 更新。 * @param {string} url zip下载地址 * @param {(event:string,downloadPercent:number,curfile:string)=>boolean} onEvent 事件的回调。 * 事件名称: * 'downloading' 下载中,这时候downloadPercent有值 * 'downloadError' 下载错误 * 'downloadOK' 下载成...

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

756. 自定义shader-边缘光照shader [ 39%]

...ite3D.load("../../res/threeDimen/skinModel/dude/dude.lh")); dude.once(Laya.Event.HIERARCHY_LOADED, this, function () { var customMaterial1 = new CustomMaterial(); customMaterial1.setDiffuseTexture(Laya.Texture2D.load("../../res/threeDimen/skinModel/dude/Assets/dude/head.png")); customMaterial1.setMa...

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

757. laya.display.AnimationBase_API3.0 [ 37%]

...ld addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponen...

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

758. lib/arm/liblayaair.so 总是崩溃 [ 32%]

...14 10:57:50.024 3526-3928/? D/WifiProJNI: Received kernel message payload: event 0 08-14 10:57:50.025 3526-3928/? I/QosMonitor: postEventFromNative: msg=100,arg1=0,arg2=9 08-14 10:57:50.025 3526-3928/? W/WifiProJNI: poll before: g_monitor_fd =163 08-14 10:57:50.025 3526-3526/? I/MQoS: rtt=440,tcp_tx...

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

759. 3D粒子编辑模块 · LayaAir3.0文档 · LAYABOX [ 26%]

... })); } //每次鼠标点下屏幕后,会创建一个特效 mouseDown(e: Event): void { var particle = Particle3D.Create(this.filePath); this.owner.addChild(particle); } //鼠标抬起后,会释放对象池 mouseUp(e: Event): void { Particle3D.ClearPool(this.filePath); } } Copyright ©Layabox 20...

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