大约有 335 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
Laya3.0_api(110) Laya2.0_api(67) Laya_社区(65) laya_api(61) Laya2.0_文档(16) Laya3.0_文档(14) Laya2.0_示例(1) Laya_示例(1)
...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
... 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
...邀请: 与内容相关的链接 提交 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
...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
...(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
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
...: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
... }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
...ndom between two Curve:在两个曲线中随机取值 3.1.5 纹理动画 Texture Sheet 用来播放粒子动画的模块,粒子动画的原材料是一种纹理,它包含了一组帧动画,能够以动画方式渲染粒子。 帧动画:使用多张图片,每张图片为一帧,构成一...
来源: Laya3.0_文档 发布时间: 20251010
...ndom between two Curve:在两个曲线中随机取值 3.1.5 纹理动画 Texture Sheet 用来播放粒子动画的模块,粒子动画的原材料是一种纹理,它包含了一组帧动画,能够以动画方式渲染粒子。 帧动画:使用多张图片,每张图片为一帧,构成一...
来源: Laya3.0_文档 发布时间: 20250104