大约有 2,264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
Laya_社区(1811) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(31) Laya2.0_示例(15)
...排行榜渲染报错,写法如图但是竟让会报错,但是把 var texture:Texture = new Texture(Browser.window.sharedCanvas);改成var texture:Texture = new Texture();就没有报错,怎么解决啊 附件 : --> 2018-09-01 添加评论 已悬赏5元 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20180901
sprite添加texture后,sprite无法触发点击事件? this.item.graphics.drawTexture(Laya.loader.getRes(IMG_RES[this.name])); Laya.stage.addChild(this.item); this.item.on(Laya.Event.CLICK, this, () => { this.item.destroy(); }); 2017-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170826
Laya3d 能使用类似u3d的Unlit/Texture这个shader么? 就是单纯使用贴图渲染,不用灯光 2019-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Zong 赞同来自: 找到了,不好意思 2019...
来源: Laya_社区 发布时间: 20190313
... let h: number = gl.drawingBufferHeight; let texture2d: Laya.Texture2D = new Laya.Texture2D(w,h,Laya.TextureFormat.R8G8B8A8,false,false); texture2d.setPixels(pixels); let tex: Laya.Texture = new Laya.Texture(texture2d); ...
来源: Laya_社区 发布时间: 20200815
可以通过base64构造Texture对象吗? 事实上我想做的事情是我得到了一张base64的图片,现在我需要提取出其中的一个部分,比如从x:100,y:100开始,截取宽100,高100的一张图。请教一下如何实现! 感恩!!! 2017-11-03 添加评论 免费...
来源: Laya_社区 发布时间: 20171103
...示,但是在安卓手机却报错, wxClient: LayaScene_Role/Assets/Texture/role.png?v=5: 未加载到该图片资源,请检查安装包或网络 wxClient: LayaScene_Role/Assets/Texture/Goingdown.png?v=5: 未加载到该图片资源,请检查安装包或网络 wxClient: LayaScene_Jump...
来源: Laya_社区 发布时间: 20180831
...llipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inhe...
来源: Laya3.0_api 发布时间: 20231115
...plementors VertexGlitter, VertexParticle, VertexPosition, VertexPositionNTBTexture, VertexPositionNTBTexture0Texture1Skin, VertexPositionNTBTextureSkin, VertexPositionNormal, VertexPositionNormalColor, VertexPositionNormalColorSkin, VertexPositionNormalColorSkinTangent, VertexPositionNormalColorTang...
来源: laya_api 发布时间: 20170929
用viewport之后,为什么就不能使用Laya.Texture(用drawTexture画图片),然后用viewport显示区域 2017-12-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 wudi199553 赞同来自: 你是显示不...
来源: Laya_社区 发布时间: 20171215
...RFLAG_SKY; var skyDome = new Laya.SkyDome(); camera.sky = skyDome; skyDome.texture = Laya.Texture2D.load("../../res/threeDimen/env/sp_default/env.png");class SkyDomeSample { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCRE...
来源: Laya_示例 发布时间: 20260303