大约有 192 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
Laya_社区(75) Laya3.0_api(66) Laya2.0_api(16) laya_api(15) Laya2.0_文档(6) Laya3.0_文档(6) Laya_示例(5) Laya2.0_示例(3)
...s::AtlasWebGLCanvas/texSubImage2D() at laya.webgl.atlas::Atlaser/addToAtlasTexture() at laya.webgl.atlas::AtlasResourceManager/pushData() at laya.webgl.atlas::AtlasResourceManager/addToAtlas() at MethodInfo-3300() at laya.resource::Texture/addTextureToAtlas() at Function/http://adobe.com/AS3/2006/bu...
来源: Laya_社区 发布时间: 20200217
... // 加载完成后绘制到building Sprite上 let texture = Laya.loader.getRes("res/building.png"); this.building.graphics.drawTexture(texture, 0, 0); }), null, Laya.Loader.IMAGE ); ...
来源: Laya_社区 发布时间: 20251125
drawToTexture 绘制函数不工作呢 let top_rect: Laya.Sprite = new Laya.Sprite(); top_rect.x = 0; top_rect.y = 0; top_rect.size(100, 100); top_rect.graphics.drawRect(0, 0, 100, 100, "#0000FF", "#000000", 1); ...
来源: Laya_社区 发布时间: 20190730
...之前的数字 HttpRequest无法发送除字符串以外的数据 请问Texture2D如何用base64字符串构建对象 laya怎么将object转为num,我知道是用paseint,但是格式是怎样的 如何将字符串变成数字? 请教关于字符串定位一个类的问题。 Laya.Text API. te...
来源: Laya_社区 发布时间: 20161228
...Mode='lighter' 图片异常 matter中layasprite怎么改变图片大小? Texture图片能否进行翻转? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ unity中的模型导出后在laya中显示不正常 laya怎么跨域加...
来源: Laya_社区 发布时间: 20170406
...eMat: Laya.StandardMaterial = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var boxCollider = plane.addComponent(Laya.BoxCollider) as ...
来源: Laya_社区 发布时间: 20180820
...) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 Texture图片能否进行翻转? laya3D动画无法播放 [Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题 spine动画播放后图集错乱 如何获取图片每个像素点的RGB...
来源: Laya_社区 发布时间: 20181120
...ponent text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929
...esName); if (!tx) { console.warn(TipConfig.tips.haveNoTheChar, char); } sp.texture = tx; this.chars.push(sp); this.addChild(sp); } this.sortCharsByAlign(this._align); } /** * 水平对齐方式 */ public set align(v: string) { if (v === this._align) { return; } this._align = v; this.sortCharsByAlign...
来源: Laya_社区 发布时间: 20180302
...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929