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

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

761. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 66%]

... addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeC...

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

762. 官方提供的关系链代码执行报错,是不是wx的sharedCanvas不是Laya的canvas导致的问题 [ 66%]

... 是一个纹理处理类。 */ //class laya.resource.Texture extends laya.events.EventDispatcher var Texture=(function(_super){ function Texture(bitmap,uv){ /**图片或者canvas 。*/ //this.bitmap=null; /**UV信息。*/ //this.uv=null; /**沿 X 轴偏移量。*/ this.offsetX=0; /**沿 Y 轴偏移...

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

763. Laya IDE横竖屏切换时,不断刷新 [ 66%]

...his, initGame)); Laya.timer.frameOnce(1, this, function () { Laya.stage.on(Event.RESIZE, this, function () { window.location.reload(); }) }) 2018-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同...

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

764. 高级应用-实时阴影 [ 66%]

...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_示例 发布时间: 20251219

765. 打包app,http无法设置content-type [ 66%]

...gt;, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'pos...

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

766. 材质-BlinnPhong-漫反射贴图 [ 66%]

...ort laya.d3.shader.ShaderCompile3D; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; public class BlinnPhong_DiffuseMap { private var rotation:Vector3 = new Vector3(0, 0.01, 0); public function BlinnPhong_DiffuseMap() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stag...

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

767. box2d引擎报错问题 [ 66%]

...ation = new Laya.Animation(); ani.loadAnimation("catFly.ani"); ani.on(Laya.Event.COMPLETE, null, recover); function recover(): void { ani.removeSelf(); Laya.Pool.recover("deathEffect", ani); } return ani; } 附件 : --> 2019-10-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

768. 导入微信小游戏的时候 [ 65%]

...t ResInfo.onLoaded (http://127.0.0.1:65353/game/code.js:12995:61)     at EventHandler.__proto.runWith (http://127.0.0.1:65353/game/code.js:711:59)     at ResInfo.__proto.event (http://127.0.0.1:65353/game/code.js:483:28)     at LoaderManager.__proto._endLoad (http://127.0.0.1:65353/game/code.j...

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

769. list组件改变位置后在改变数据源的长度,会导致index超过数据源长度 [ 65%]

...享 微博 QZONE 微信 Laya_Aaron 赞同来自: private onClick(e: Laya.Event) {     this._data = [1];   this.list.array = this._data; this.list.y = 220; this.list.height = 300;   }   代码这么写就好了 2019-09-19 0 1 分享 微博 QZONE 微信 Laya新用户 赞同来自: 这2行换位...

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

770. 关于定时器问题 [ 65%]

...白部分的颜色问题 求指点3d射线碰撞和UI点击穿透的问题 event自定义事件的问题 graphics alpha 问题 (此问题已经无效) 问题状态 最新活动: 2018-08-06 10:43 浏览: 1025 关注: 2 人

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