大约有 2,792 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0124 秒)
Laya_社区(2262) Laya2.0_文档(123) Laya3.0_api(106) Laya_示例(84) Laya2.0_api(57) Laya2.0_示例(55) laya_api(53) Laya3.0_文档(52)
...型移动如何写法 //载入并显示鱼模型 var fish = new Laya.MeshSprite3D(Laya.Mesh.load("fish/denglongyu/denglongyuANI-denglongyu.lm")); scene.addChild(fish); var fishmaterial = new Laya.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu...
来源: Laya_社区 发布时间: 20170918
...来自: ios的,你可以试一下~~直接使用LayaAir,然后随便new Sprite后,锁屏,点亮屏幕就看到效果了! 2017-05-12 0 0 分享 微博 QZONE 微信 183*****291 赞同来自: 是不是被劫持了,改用https 2017-10-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20170511
Sprite.loadImage在Android平台无法卡死,web和iOS平台正常 在Android平台使用Spirte.loadImage方法初始Sprite卡死,log中一直打印日志“JCGraphicsCmdDispath::calcBoundingBox Wrong command number!,cmd=-65536” 同样的代码和图片地址在web和iOS平台正常; 代码...
来源: Laya_社区 发布时间: 20171229
...t事件(已解决) AS3代码如下 package { import flash.display.Sprite; import flash.events.Event; import flash.net.Socket; public class TestWebSocket extends Sprite { public var s:Socket; public function TestW...
来源: Laya_社区 发布时间: 20160810
使用clone()或instantiate()方法添加sprite3D角色时, 手中武器不跟随手移动. 但使用getRes()方法导入sprite3D时绑定在手上的武器可正常跟随 使用clone()或instantiate()方法添加sprite3D角色时, 手中武器不跟随手移动. 但使用getRes()方法导入sprite...
来源: Laya_社区 发布时间: 20180206
...ya.Mesh.load("LayaScene_01/Assets/model/loveScene_jianzhu.lm"); // var meshSprite3D:Laya.MeshSprite3D = new Laya.MeshSprite3D(mesh); //方法二:预加载,创建为Sprite3D类型 Laya.loader.create("LayaScene_01/Assets/model/loveScene_jianzhu.lm",Laya.Handler.create(this,this.onCreateComplete));...
来源: Laya_社区 发布时间: 20171109
...r cylinderMesh:CylinderMesh=new CylinderMesh(0.05,2,8); var cylinder3D:MeshSprite3D=new MeshSprite3D(cylinderMesh); cylinder3D.transform.translate(new Vector3(3,0,0),true); cylinder3D.transform.localScale = new Vector3(2,2,2); cylinder3D.transform.localRotationEuler = new Vector3(90,90,90); role.get...
来源: Laya_社区 发布时间: 20170904
...(!this.cubeP){ this.cubeP = this.scene.addChild(new Laya.Sprite3D()); this.cube = this.cubeP.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))); let rigidbody = this.cube.addComponent(Laya.Rigidbody3D); rigid...
来源: Laya_社区 发布时间: 20200223
...件 Runtime照着视频做运行不了,求解 laya idc 下能否给单个sprite节点指定动画 运用Sprite的属性blendMode为"destination-out"时得到黑圈,与引擎示例中的效果不同,想知道为什么 单个场景加载的时候,使用的Scene3D.load方法的第一个例子...
来源: Laya_社区 发布时间: 20170804
...转 ###### **version :2.7.0beta Update:2020-6-11** 摄像机继承于Sprite3D,一样可以对它进行3D变换的操作,通过它transform属性在3D场景中移动旋转变化,多角度取景,使观众或游戏者获得更真实的空间体验。 移动摄像机: ```typescript //...
来源: Laya2.0_文档 发布时间: 20210714