大约有 2,258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0088 秒)
Laya_社区(1808) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(28) Laya2.0_示例(15)
...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
...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
...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
...多个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
...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
...状态下的描边颜色。 UIGroup tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929
...]),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
...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
...的标签。 Component target : Sprite 设置滚动对象。 ScrollBar texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite thumbPercent : Number获取或设置一个值...
来源: laya_api 发布时间: 20170929
...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