大约有 216 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0034 秒)
...laya.d3.core.scene.Scene; import laya.d3.math.Vector2; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; import common.CameraMoveScript; pu...
来源: Laya_示例 发布时间: 20260106
...ne.addChild(sp); this.box.transform.rotate(new Laya.Vector3(30, 0, 0), false, false); })); 附件 : --> 2019-05-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 bpmf_d 赞同...
来源: Laya_社区 发布时间: 20190514
...getChildByName("Cube")as Laya.Sprite3D; cube.transform.position = new Laya.Vector3(0, 5, 0);------------------------------------------ 有人回复了,只有运动学才能控制了现在···· 附件 : --> Bugtest.zip 2024-12-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20241209
... var twoMc:MeshSprite3D = Sprite3D.instantiate(meshSprite,new Vector3(0.1, 0, 0.2),null,null,false) as MeshSprite3D; twoMc.transform.position = new Vector3(0.1, 0, 0.2); var transformUVTwo:TransformUV = ...
来源: Laya_社区 发布时间: 20170311
...现,支持Sprite3d的transform里的属性,具体请参照例子 支持Vector3和Vector4的缓动,具体实现请看例子 github链接: https://github.com/AILHC/LayaD3Tween 欢迎使用和提建议,给个star 么么哒~ 2019-02-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20190228
...Z); phy.colliderShape.localOffset.cloneTo(colliderShape.localOffset); Laya.Vector3.scale(colliderShape.localOffset, 0.5, colliderShape.localOffset);//这里还需要手动缩放这个偏移值才正常 2022-11-21 0 0 分享 微博 QZONE 微信 Laya_Fred 赞同来自: 您好,感谢您的反馈,...
来源: Laya_社区 发布时间: 20221121
...ld(box); box.transform.translate(_position); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; 我看了API MeshSprite3D和BoxMesh都没有...
来源: Laya_社区 发布时间: 20181126
...(0,0,0)定位。 旋转代码: var _rotateLeft = new Laya.Vector3(0, 1, 0); floor.transform.rotate(_rotateLeft, true, false); 或者 floor.transform.rotate(_rotateLeft, false, false); 2018-08-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20180822
...dChild(camera); //移动摄像机位置 camera.transform.position=new Laya.Vector3(-8, 4, 15); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -8, -25, 0), true, false); })) } return Main; } ()); Main(); laya2.0的3d尝试,新人,看不懂这是为啥,错误如下: laya....
来源: Laya_社区 发布时间: 20180919
...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_社区 发布时间: 20171108