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

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

731. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 62%]

...ar material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; })); //测试遮挡剔除 material.cull = 0 box.meshRenderer.material = material;  let res1 = Laya.Sp...

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

732. laya.display.Animation_API3.0 [ 62%]

...tation scaleX scaleY scene scrollRect skewX skewY source stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains custo...

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

733. Laya1.6.2发布flash版本 [ 62%]

...s::AtlasWebGLCanvas/texSubImage2D() at laya.webgl.atlas::Atlaser/addToAtlasTexture() at laya.webgl.atlas::AtlasResourceManager/pushData() at laya.webgl.atlas::AtlasResourceManager/addToAtlas() at MethodInfo-3300() at laya.resource::Texture/addTextureToAtlas() at Function/http://adobe.com/AS3/2006/bu...

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

734. 安卓机上帧数高, 但在苹果机上帧数超级低,太差劲了, 请问是什么问题????在线等,急求答案!!!各位大神,麻烦走过路过解答下!!!!!!!!! [ 62%]

...多个drawcalls kezhiyu • 2018-05-29 16:38 可以不用缓存, 只用 texture atlas kezhiyu • 2018-05-29 16:43 然后你的texture atlas图控制好大小,貌似这个引擎 超过1024px就会有内存增大问题 夏^O^雨 • 2018-05-24 20:20 Web的 Laya_Aaron • 2018-05-24 20:22 @夏^O^...

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

735. Maximum call stack size exceeded [ 62%]

...d variable: window stack Error: asBitmap no size! 微信真机下游戏MAX_TEXTURE_SIZE FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory Cannot read property 'call' of undefined 请...

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

736. laya.ui.UIGroup [ 62%]

...状态下的描边颜色。 UIGroup tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

737. 二进制图片(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 62%]

...]),null,Laya.Loader.IMAGE); } private showImg(url:string):void{ var t:Laya.Texture = Laya.loader.getRes(url); var ape:Laya.Sprite = new Laya.Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200,0); } ``` 第三种我们直接创建一个纹理来 ```typescript private com...

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

738. 粒子动画透明度问题 [ 62%]

...cleShader,     ['vs',function(){return this.vs="attribute vec4 a_CornerTextureCoordinate;\nattribute vec3 a_Position;\nattribute vec3 a_Velocity;\nattribute vec4 a_StartColor;\nattribute vec4 a_EndColor;\nattribute vec3 a_SizeRotation;\nattribute vec2 a_Radius;\nattribute vec4 a_Radian;\nattribu...

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

739. laya.ui.ScrollBar [ 62%]

...的标签。 Component  target : Sprite 设置滚动对象。 ScrollBar texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite  thumbPercent : Number获取或设置一个值...

来源: laya_api 发布时间: 20170929

740. laya.display.Text_API3.0 [ 61%]

...tage staticCache stroke strokeColor templateVars text textHeight textWidth texture timer transform ubb underline underlineColor url valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInsta...

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