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

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

251. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 67%]

...BEBOXMAX REFLECTIONCUBE_PROBEBOXMIN REFLECTIONCUBE_PROBEPOSITION REFLECTIONTEXTURE SAHDERDEFINE_LIGHTMAP SHADERDEFINE_LIGHTMAP_DIRECTIONAL SHADERDEFINE_RECEIVE_SHADOW Accessors active activeInHierarchy components depth destroyed displayedInStage hideFlags id is3D layer meshFilter meshRenderer minX m...

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

252. Laya中Button等组件lose skin的问题 [ 67%]

...     var clips=WeakObject.I.get(key);         if (!Utils.isOkTextureList(clips)){             clips=null;         }         if (clips)this._sources=clips;         else {             this._sources=;             if (this._stateNu...

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

253. 如何获取webgl模式下屏幕上的像素值 [ 66%]

...邀请: 与内容相关的链接 提交 1 个回复 Volumex 赞同来自: Texture.getPixels方法内 var tUint8Array=tRenderTarget.getData(0,0,width,height); tUint8Array空, 走进去应该是因 var canRead=(gl.checkFramebufferStatus(/*laya.webgl.WebGLContext.FRAMEBUFFER*/0x8D40)===/*laya.w...

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

254. 3D模式下使用Tween使模型移动如何写法 [ 66%]

...erial = new Laya.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/denglongyu1.jpg"); fish.meshRender.material = fishmaterial; fish.transform.localScale = new Laya.Vector3(0.001,0.001,0.001); fish.transform.localPosition = new Laya.Vector3(0,1,0...

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

255. 【简单跑酷--JS版】---Lv.4 添加玩家 [ 66%]

...(runGame); var sp = new laya.display.Sprite(); sp.x = 100; sp.y = 100; var texture = Laya.loader.getRes('player/chara_01.png'); sp.graphics.drawTexture(texture, 0, 0, 96, 96); Laya.stage.addChild(sp); console.log(texture); } 这里大家可能有疑问 什么路径地址是”player/chara_01.png...

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

256. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 66%]

texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 export class Texture2dTest { private sprite3D:Laya.Sprite3D; private readonly AllPng:string[] = ["pic-001.png","output-06.png"]; private texture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 0); Laya.s...

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

257. TypeError: Cannot read property 'length' of null [ 65%]

...:4515 TypeError: addGlobalValueDefine is not a function 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' TypeError: Laya.Browser.window.conch.setFontF...

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

258. Laya.loader加载BUG [ 65%]

...      }else if (type==="image"){             var tex=new Texture(data);             tex.url=this._url;             this.complete(tex);         }else if (type==="sound" || type==="htmlimage" || type==="nativeimage"){             this.compl...

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

259. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

...ndom between two Curve:在两个曲线中随机取值 3.1.5 纹理动画 Texture Sheet 用来播放粒子动画的模块,粒子动画的原材料是一种纹理,它包含了一组帧动画,能够以动画方式渲染粒子。 帧动画:使用多张图片,每张图片一帧,构成一...

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

260. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 65%]

...ndom between two Curve:在两个曲线中随机取值 3.1.5 纹理动画 Texture Sheet 用来播放粒子动画的模块,粒子动画的原材料是一种纹理,它包含了一组帧动画,能够以动画方式渲染粒子。 帧动画:使用多张图片,每张图片一帧,构成一...

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