大约有 45 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0055 秒)
...d(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/...
来源: Laya2.0_文档 发布时间: 20210715
...d(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/...
来源: Laya2.0_文档 发布时间: 20210715
...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_社区 发布时间: 20170428
... { //注意这里面的属性不要使用到Laya引擎里的类型,比如Vector3这些,是不可以的 Editor.typeRegistry.addTypes([ { name: "MyTestSettingsType", properties: [ { name: "option1", type: "boolean", default: true }, { name: "option2", type: "string", default: "", } ] } ]); Editor....
来源: Laya3.0_文档 发布时间: 20241014
...nkey2 = _Scene3D.addChild(sp); layaMonkey2.transform.localScale = new Laya.Vector3(4, 4, 4); layaMonkey2.transform.translate(new Laya.Vector3(-20, 13, 0)); //获取动画组件 var xxAni = layaMonkey2.getChildAt(0).getComponent(Laya.Animator); //获取动画资源对象 var xxClip = Laya.Loader.getR...
来源: Laya2.0_文档 发布时间: 20210714