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

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

271. 2.12.2beta1 诸多bug [ 62%]

...而在image的skin更换皮肤时,可以从loader里使用getRes加载到texture,但此时texture还未加载完成,所以导致source._bitmapnull,无法显示的问题,这个问题目前我们没有较好的解决方案,只能使用预加载或在loadImage的回调内更换skin来规...

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

272. 我照着例子做的换装例子切换不了卡槽的图片,附件我的demo,请帮忙看看 [ 62%]

...不了卡槽的图片,附件我的demo,请帮忙看看 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisplayData.uvs...

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

273. laya.d3.core.Camera_API3.0 [ 62%]

...bXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHier...

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

274. laya.d3.webxr.core.WebXRCamera_API3.0 [ 61%]

...bXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHier...

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

275. 有些模型load之后,MeshSprite3D 的共享材质个数0,无法对材质进行操作 [ 60%]

...默认文本颜色是绿色,我想换成其他颜色,如何操作? Texture图片能否进行翻转? 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 如何获取一个3D模型的长宽高? 模型资源释放问题 问题状态 最...

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

276. 创建材质(JavaScript-3D基础(JS)-LayaAir3D之Material材质) [ 60%]

... false); //创建材质 var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex){ //纹理加载完成后赋值 material.albedoTexture = tex; })); //将材质赋值给自定义模型 box.meshRenderer.material = material; ``` ![](img...

来源: Laya2.0_文档 发布时间: 20210714

277. Animation创建和销毁的问题 [ 60%]

...,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认false          */         public static function clearRes(url:String, forceDispose:Boolean = false):void { Loader.clearRes清理你把里面的第二个参数设置成false试试 如果还是不...

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

278. 分享:List组件下Item(Box)下的Button(或其他组件)进行监听! [ 59%]

... AS、JS、TS版本 Demo! 分享:适配LayaAir版本的PureMVC框架 Texture图片能否进行翻转? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 [分...

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

279. 正交相机要怎么控制啊,坐标什么的全部懵!看了这个官方示例表示不懂,什么还要转化2D坐标? [ 59%]

...ONE; var dialog = Laya.stage.addChild(new Laya.Image("../../res/threeDimen/texture/earth.png")); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); //-30改-90 camera.tr...

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

280. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 59%]

...过图片数据计算得到AStart网格 */ private createGridFromAStarMap(texture): any { var textureWidth = texture.width; var textureHeight = texture.height; var pixelsInfo = texture.getPixels(); var aStarArr = []; var index = 0; for (var w = 0; w < textureWidth; w++) { var colaStarArr = aStarA...

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