大约有 216 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0039 秒)
...== 0) { var physicPosition = PhysicsComponent._tempVector30; shapeOffset.x *= transform.getWorldLossyScale().x; shapeOffset.y *= transform.getWorldLossyScale().y; shapeOffset.z *= transform.getWorldLossyS...
来源: Laya_社区 发布时间: 20191019
...//调整方向 this.layaMonkey.transform.lookAt(this._tarPosition, this._upVector3, false); //因为资源规格,这里需要旋转180度 this.layaMonkey.transform.rotate(this._rotation2, false, false); //调整位置 Tween.to(this._finalPosition, { x: this._position.x, y: this._position.y, z: thi...
来源: Laya3.0_文档 发布时间: 20230303
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...
来源: Laya_社区 发布时间: 20180319
...可以直接设置光源的高光颜色directionLight.specularColor= new Vector3(0,0,0);但是我想只针对这3d模型设置高光,threeJS中有类似的设置); 但是 想要通过meshRender.sharedMaterials操作材质的时候,获取到的的length为0。 是不是我的api使用的不对?...
来源: Laya_社区 发布时间: 20170314
...here001.lm"))) as MeshSprite3D; shared.transform.localScale = new Vector3(0.3, 0.3, 0.3); //获取角色动画组件 var ani:Animator=shared.getChildAt(0).getComponentByType(Animator) as Animator; //监听默认动画...
来源: Laya_社区 发布时间: 20180118
...dChild(camera); //移动摄像机位置 camera.transform.position=new Laya.Vector3(-8, 4, 15); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -8, -25, 0), true, false); } } new LayaAir3D(); 2017-10-17 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 麻烦上...
来源: Laya_社区 发布时间: 20171017
...dChild(new Laya.Camera(0, 0.1, 100)) ; camera.transform.translate(new Laya.Vector3(0, 1, 0)); camera.addComponent(CameraMoveScript); } return LayaAir3D; } ()); LayaAir3D(); 2018-03-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添...
来源: Laya_社区 发布时间: 20180320
....addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-38, 180, 0), false, false); camera.transform.translate(new Laya.Vector3(-5, 20, -30), false); camera.addComponent(CameraMoveScript); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { setCustomMaterial(scene...
来源: Laya_示例 发布时间: 20260106
...umentationAll Packages | All Classes | Index | Frames No Frames ConchVector3Properties | Methods | Constants Packagelaya.d3.math.NativeClasspublic class ConchVector3InheritanceConchVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties Propert...
来源: Laya2.0_api 发布时间: 20190513
...PlaneMesh(10, 10))) as Laya.MeshSprite3D; // box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); // var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); // var material: Laya.WaterPrimaryMaterial = new Laya.WaterPrimaryMaterial(); var material: Laya.WaterPrimaryMaterial...
来源: Laya_社区 发布时间: 20181030