大约有 1,726 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1439) Laya3.0_api(93) Laya2.0_文档(63) Laya3.0_文档(43) Laya_示例(36) laya_api(32) Laya2.0_api(19) Laya2.0_示例(1)
...{ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer...
来源: Laya2.0_文档 发布时间: 20210714
...st(this.ray, this._outHitInfo, Number.MAX_VALUE, 10); if (this._outHitInfo.sprite3D.name === "tlj"){ isRotate = !isRotate; } // this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, state); // //绘出射线 // this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0...
来源: Laya_社区 发布时间: 20170323
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 使用3D时候,Property 'getComponentByType' does not exist on ...
来源: Laya_社区 发布时间: 20181026
...08-21 16:37 @183*****755: private var ani:Animator; private var effectTemp:Sprite3D; effectTemp = Laya.loader.getRes("res/LayaScene_Fire/Fire.lh"); 先查到节点 for(var i:int = 0;i<ani._avatarNodes.length;i++) { if(AnimationNode(ani._avatarNodes[i]).name == "weaponEffect") ...
来源: Laya_社区 发布时间: 20170821
...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getCom...
来源: Laya_社区 发布时间: 20240221
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 缓动Tween能用在3D物体或者特效上面吗? IDE1.7.8 json图集加载问题 关于适配采用showAll后留白部分的颜色问题 event...
来源: Laya_社区 发布时间: 20180620
...ghtControl = Laya.loader.getRes("res/OculusController/controller.gltf") as Sprite3D; let leftControl = Laya.loader.getRes("res/OculusController/controller-left.gltf") as Sprite3D; let pixelright = new PixelLineSprite3D(20,"right"); let pixelleft = new PixelLineSprite3D(20,"left"); this.scene.addChil...
来源: Laya3.0_文档 发布时间: 20251010
...使用官网的旧版例子中的代码 addSkinComponent(spirit3D: Laya.Sprite3D): void { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D: Laya.MeshSprite3D = spirit3D as Laya.MeshSprite3D; var skinAni: Laya.SkinAnimati...
来源: Laya_社区 发布时间: 20180724
...义模型 Laya.URL.basePath="http://192.168.8.104:8080/" var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.1, 0.1, 0.1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.StandardMaterial = new Laya.StandardMa...
来源: Laya_社区 发布时间: 20180312
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 微信小游...
来源: Laya_社区 发布时间: 20240124