大约有 753 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya_社区(417) Laya2.0_文档(98) Laya3.0_api(64) Laya2.0_api(59) laya_api(54) Laya_示例(28) Laya3.0_文档(18) Laya2.0_示例(15)
...么改变图片大小? ios14系统下 blendMode='lighter' 图片异常 Texture图片能否进行翻转? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? laya怎么跨域加载图片 图片不能按轴心旋转 请教下微信小游戏的内存和数据缓存? 打...
来源: Laya_社区 发布时间: 20190529
... var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/freegeek logo 0418 yuanjiao Ss.png"); box.meshRender.material = material; Laya.loader.create("cj\cj-default001.lm",Laya.Handler.create(this,this.onCreateComplete)); ...
来源: Laya_社区 发布时间: 20180427
...a.BlinnPhongMaterial; //添加漫反射贴图 Laya.Texture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { this.mat1.albedoTexture = tex; })); //平面加载 let plane = this.scene.add...
来源: Laya_社区 发布时间: 20201127
...ump float; #endif #include "Sprite2DFrag.glsl"; void main() { clip(); vec4 textureColor = texture2D(u_baseRender2DTexture, v_texcoord); // 计算渐变因子 float gradientFactor = dot(v_texcoord, normalize(u_gradientDirection)) * 0.5 + 0.5; // 混合渐变颜色 vec4 gradientColor = mix(u_gradientS...
来源: Laya3.0_文档 发布时间: 20251120
...(10, 10, 10)); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; 贴图只能选一张吗? 2018-02-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180227
...er.create(this, this.onLoading, null, false)); }, onAssetloaded : function(texture){ this.tl = new Laya.Animation(); //加载动画文件 this.tl.loadAnimation("imgdebris/naruto2.ani"); //添加到舞台 var apesCtn = new Laya.Sprite(); Laya.stage.addChild(apesCtn); var _this = this; this.tl.on(this...
来源: Laya_社区 发布时间: 20190117
...Mode='lighter' 图片异常 matter中layasprite怎么改变图片大小? Texture图片能否进行翻转? 写了一个小塔防游戏,分享给初学的朋友们(ts版本)《二》 分享一个TS版本的3D2D结合的单机斗地主Demo 移植了一个游戏 代码重新 写的 图片添加点...
来源: Laya_社区 发布时间: 20170615
... * <p>加载并显示一个图片。相当于加载图片后,设置texture属性</p> * <p>注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。</p> * @param url ...
来源: Laya_社区 发布时间: 20181010
... // 加载完成后绘制到building Sprite上 let texture = Laya.loader.getRes("res/building.png"); this.building.graphics.drawTexture(texture, 0, 0); }), null, Laya.Loader.IMAGE ); ...
来源: Laya_社区 发布时间: 20251125
...caleY scene scrollRect sizeGrid skewX skewY skin sources stage staticCache texture timer toolTip top total transform url viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent ca...
来源: Laya3.0_api 发布时间: 20231115