大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...了约束的参考坐标系,影响约束的方向和行为。当space为 null 时,约束空间与父骨骼对齐,但保留当前骨骼的位置偏移。 约束骨骼:是否约束骨骼方向。 X轴: X 轴旋转角度范围。 Y轴: Y 轴旋转角度范围。 Z轴: Z 轴旋转角度范...
来源: Laya3.0_文档 发布时间: 20260131
...s.camera.clearColor = new Vector4(0, 0, 0, 0); (3)Laya.stage.bgColor = null; 第一句,是让Canvas的WebGL上下文支持透明。 第二句,是在draw渲染时清除的颜色和透明。 第三句,是把Canvas的style背景色清除。 --------------------- 作者:sjt223857130 来...
来源: Laya_社区 发布时间: 20181030
...icles/Tail.part", Laya.Handler.create(this, this.OnPariticleAssetsLoaded), null, Laya.Loader.JSON); OnPariticleAssetsLoaded(setting:Laya.ParticleSetting) { let sp = new Laya.Particle2D(setting); sp.pos(200, 200); sp.emitter.start(); sp.play(); Laya.stage.addChild(sp); sp.rotation = 80; }附件中为...
来源: Laya_社区 发布时间: 20180505
...oader.load("res/atlas/resTest0.json", Handler.create(this, this.onLoaded), null, Loader.JSON); } private onLoaded() { var json : JSON = Laya.Loader.getRes("res/atlas/resTest0.json"); var jsTx = JSON.stringify(json); } 已经通过上面代码获取整个json内容,可我该如何获取我的json...
来源: Laya_社区 发布时间: 20171016
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 问题状态 最新活动: 2020-11-02 10:37 浏览: 210 关注: 1 人
来源: Laya_社区 发布时间: 20201102
...earBufferSource(); if (!this.audioBuffer) { // console.log("audioBuffer is null",this.url) return; } if (this.startTime >= this.duration) { if (this.loops == 1) { return this.stop(); } this.startTime = 0; } 2.修复 当播放未加载好的声音时 声音状态为暂停时 声音不播放的...
来源: Laya_社区 发布时间: 20201014
...a.loader.load("res/atlas/war.json",Laya.Handler.create(this,this.onloaded),null,Laya.Loader.ATLAS); 这一句,我想找一下Laya.loader.load的使用说明和使用例子,但是不知道怎么找。在api里我开了Laya。 http://layaair.ldc.layabox.com/api/index.html?category=Core&class=L...
来源: Laya_社区 发布时间: 20171017
...form.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; camera.addComponent(CameraMoveScript); //球体 var sphere = new Laya.SphereMesh(10,10,10); var sphereMesh = new Laya.MeshSprite3D(sphere); sphereMesh.transform.localScale = new Laya.Vector3(100, 100, 100); scene.addChi...
来源: Laya_社区 发布时间: 20161222
...ind scene:GameView.scene undefined Cannot read property 'displayObject' of null unity5.6.3p4+工具2.0.1导出场景报错XXX can't Readable... Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined 鼠标自定义样式官方有支持吗,Laya....
来源: Laya_社区 发布时间: 20170407
...; var strJson=Laya.loader.load(fileURL,Handler.create(this,readJsonFinish),null,Loader.JSON); function readJsonFinish() { console.log(strJson); var contact = JSON.parse(strJson); } } cuixueying • 2016-07-26 11:13 Laya.loader.load是预加载JSON字符串,并非是获取JSON Laya.loader.getRes是...
来源: Laya_社区 发布时间: 20151110