大约有 1,200 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0044 秒)
Laya_社区(569) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(26)
...aseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方程。BaseMaterial blendEquationAlpha : intAlpha混合方程。BaseMaterial blendEquationRGB : intRGB混合方程。BaseMaterial cull : int渲...
来源: laya_api 发布时间: 20170929
...看了你的代码,你在脚本里一直在transform.translate(new Laya.Vector3(0, -0.05, 0), true); 你通过transform.translate一个物体,怎么可能会触发物理碰撞? 2020-05-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20200423
...function():void{ //使用差速来体现移动 box.transform.translate(new Vector3(0,0.05,0),false); camera.transform.translate(new Vector3(0,04,0),false); }); })); ``` (图3)
来源: Laya2.0_文档 发布时间: 20210715
...dToViewportPoint(point, camera) { let pos = new Laya.Vector3(point.x, point.y, point.z);; let out = new Laya.Vector4(0, 0, 0, 0); camera.worldToViewportPoint(pos, out); return out; } 2021-01-19 0 0 分享 微博...
来源: Laya_社区 发布时间: 20201110
...NE 微信 Supermang42 赞同来自: 改變layaMonkey的localPosition = new Vector3( 1, 1, 0 ); 可以類似這樣寫 var Mesh_Boss = new MeshSprite3D( Mesh.load( Consts.Mesh_Boss01 ) ) as MeshSprite3D; Mesh_Boss.transform.localPosition = new Vector3( -7.36, -1.03, 0 ); 2017-07-26 0 0 分享 ...
来源: Laya_社区 发布时间: 20170726
...getChildByName("Canvas") as Sprite3D; spCore.transform.localPosition = new Vector3(0, 0.7, 90); let tp3d = Sprite3D.instantiate(spCore, lf, false, new Vector3(0, 2, 90)); Laya.stage.addChild(tp3d); //Sprite3D 克隆还是会报错 2019-11-26 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: ...
来源: Laya_社区 发布时间: 20191126
...1, 1, 1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) ...
来源: Laya_社区 发布时间: 20190126
...,部分模型会消失,回移镜头又重现了? 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 用EffectAnimation实现Button的点击放大效果点击的时候按钮位移动了是否是我做法有...
来源: Laya_社区 发布时间: 20180125
...s Show Inherited Public Properties PropertyDefined By centerPosition : Vector3发射器中心位置。EmitterRing emissionRate : Number 获取粒子发射速率 EmitterBase minEmissionTime : Number 发射粒子最小时间间隔 EmitterBase particleTemplate : ParticleTemplateBase[write-only] ...
来源: laya_api 发布时间: 20170603
...ld(layaMonkey); _layaMonkey = layaMonkey; //设置缩放 var tmpLocalScale:Vector3 = layaMonkey.transform.localScale; tmpLocalScale.setValue(0.3, 0.3, 0.3); layaMonkey.transform.localScale = tmpLocalScale; /*添加部分*/ _pos.x = Laya.stage.mouseX; _pos.y = Laya.stage.mouseY; //转换2D屏幕坐...
来源: Laya2.0_文档 发布时间: 20210715