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

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

301. laya.ui.List [ 52%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

302. 以前用lm文件加载模型。现在用lh文件加载模型无法贴图 [ 52%]

...erial = new Laya.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/FBXtoolsdaochu/denglongyu.jpg"); fish.meshRender.material = fishmaterial; fish.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); fish.transform.position = new Laya.Vector3...

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

303. laya.ui.UIComponent [ 51%]

...ache方法手动刷新。Sprite  tag : * 对象的标签。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

304. laya.display.Animation [ 51%]

...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

305. 自定义2D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 51%]

...求也是存在的。 目前,LayaAir可以实现自定义2D纹理渲染(Texture2D)和基础图元渲染(Primitive)。 本篇文档属于进阶性文档,在阅读前需要具备Shader的基础知识,可以参考3D着色器文档中的一些概念介绍。 二、结构与应用 2.1 着色器文...

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

306. 二进制图片(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 51%]

...new Laya.loader.getRes(url); var ape = new Laya.Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200,0); } ``` 第三种我们直接创建一个纹理来显示: ```javascript function completeHandler(data){ //加载完成返回的data是arraybuffer //......这里处理...

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

307. laya.ui.Slider [ 51%]

...eCache方法手动刷新。Sprite tag : * 对象的标签。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

308. Resources Already Exits导致图片无法正常显示 [ 51%]

...关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 Texture图片能否进行翻转? unity中的模型导出后在laya中显示不正常 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket iphoneX环境...

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

309. laya.ui.Clip_API3.0 [ 51%]

...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

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

...不了卡槽的图片,附件为我的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