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

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

1041. 参照技术文档自定义Shader写的TypeScript版本,运行后 Sprite 显示尺寸不对,帮忙看下哪里要调整? [ 64%]

...uv不一致)   有方法可以解决,但比较麻烦, 1. 监听laya.events.Event.RECOVERED,监听纹理合并结束的消息,再创建custom sprite 2. 关闭纹理的自动图集合并   如果想看到正常的图片,可以修改一下代码 在你的sprite中,把uv设置修改为te...

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

1042. laya.d3.core.BaseCamera [ 64%]

... Classes | Index | Frames No Frames BaseCameraProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class BaseCameraInheritanceBaseCamera Sprite3D Node EventDispatcher ObjectSubclasses Camera BaseCamera 类用于创建摄像机的父类。 Public Properties Hide Inherited ...

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

1043. laya.d3.core.material.PBRMaterial_API3.0 [ 64%]

...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...

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

1044. Laya ide 1.83 导出apk 加载场景失败 [ 64%]

...nd.alone.version/lib ... 189:61) 05-18 09:55:36.987: I/0(27649):     at EventHandler.__proto.runWith (http://stand.alone.version/libs/laya.core.js:726:27) 05-18 09:55:36.987: I/0(27649):     at ResInfo.__proto.event (http://stand.alone.version/libs/laya.core.js:494:28) 05-18 09:55:36.987: I/0(...

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

1045. 请问UI之间的场景切换要怎么写 [ 64%]

...(_super){ function sg_sign(){ sg_sign.super(this); this.btn_wxsign.on(Laya.Event.CLICK,this,this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundManager.playMusic('res/sound/sign_bgm.mp3',0); } _proto.onWxSign = fu...

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

1046. 简单粒子效果,发布成单机版apk在移动端安装运行,结果显示不出来 [ 64%]

...proto.onAssetsLoaded (http://www.xxx.com/LayaUISample.max.js:440)     at EventHandler.__proto.run (http://www.xxx.com/LayaUISample.max.js:702)     at ResInfo.__proto.event (http://www.xxx.com/LayaUISample.max.js:495)     at LoaderManager.__proto._endLoad (http://www.xxx.com/LayaUISample.max.js...

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

1047. httpRequest send返回Request failed Status:0 [ 64%]

...quest(); var url = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // priva...

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

1048. Dragonbones龙骨动画 播放不同动作出现闪烁 混乱 [ 64%]

...ete; } this.aniUrl = aniUrl; this.templet = new Templet(); this.templet.on(Event.COMPLETE, this, this.parseComplete); // this.templet.on(Event.ERROR, this, this.onError); this.templet.loadAni(this.aniUrl); this.maskBox.graphics.drawRect(0,0,this.width,this.height,'#ffffff'); this.mask = this.maskBox...

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

1049. meshRender修改材质问题 [ 64%]

...file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12723:28) at EventHandler.__proto.runWith (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:713:27) at ResInfo.__proto.event (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:483:28) at LoaderManager.__proto._end...

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

1050. 用最新版本的IDE开发,用AS语言开发,用HttpRequest加载图片报错,用JS语言开发却可以加载 [ 63%]

...p:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuff...

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