diff --git a/BezierPathsDemo/.gitignore b/BezierPathsDemo/.gitignore new file mode 100644 index 0000000..a231b3f --- /dev/null +++ b/BezierPathsDemo/.gitignore @@ -0,0 +1,24 @@ + +#/////////////////////////// +# Cocos Creator 3D Project +#/////////////////////////// +library/ +temp/ +local/ +build/ +profiles/ +native +#////////////////////////// +# NPM +#////////////////////////// +node_modules/ + +#////////////////////////// +# VSCode +#////////////////////////// +.vscode/ + +#////////////////////////// +# WebStorm +#////////////////////////// +.idea/ \ No newline at end of file diff --git a/BezierPathsDemo/README.md b/BezierPathsDemo/README.md new file mode 100644 index 0000000..647c6a7 --- /dev/null +++ b/BezierPathsDemo/README.md @@ -0,0 +1,6 @@ +# 生成匀速Bezier曲线 +> 实现2d与3d的三阶匀速曲线 + +## 参考 +* https://blog.csdn.net/iSunwish/article/details/78935257 +* https://blog.csdn.net/iSunwish/article/details/112127363 \ No newline at end of file diff --git a/BezierPathsDemo/assets/material.meta b/BezierPathsDemo/assets/material.meta new file mode 100644 index 0000000..e1d7660 --- /dev/null +++ b/BezierPathsDemo/assets/material.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "bcb14f34-8131-435f-a8f5-29612c45af59", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/BezierPathsDemo/assets/material/hdcSky.mtl b/BezierPathsDemo/assets/material/hdcSky.mtl new file mode 100644 index 0000000..8ea9e0e --- /dev/null +++ b/BezierPathsDemo/assets/material/hdcSky.mtl @@ -0,0 +1,34 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_TEXTURE": true + } + ], + "_states": [ + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + } + ], + "_props": [ + { + "mainTexture": { + "__uuid__": "dc4a96c7-321a-48af-81e5-1127ad3ae432@6c48a" + }, + "alphaThreshold": 0 + } + ] +} \ No newline at end of file diff --git a/BezierPathsDemo/assets/material/hdcSky.mtl.meta b/BezierPathsDemo/assets/material/hdcSky.mtl.meta new file mode 100644 index 0000000..3667465 --- /dev/null +++ b/BezierPathsDemo/assets/material/hdcSky.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.9", + "importer": "material", + "imported": true, + "uuid": "482a5162-dad9-446c-b548-8486c7598ee1", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/material/plane.mtl b/BezierPathsDemo/assets/material/plane.mtl new file mode 100644 index 0000000..ab9171c --- /dev/null +++ b/BezierPathsDemo/assets/material/plane.mtl @@ -0,0 +1,34 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_TEXTURE": true + } + ], + "_states": [ + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + } + ], + "_props": [ + { + "mainTexture": { + "__uuid__": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee@6c48a" + }, + "alphaThreshold": 0 + } + ] +} \ No newline at end of file diff --git a/BezierPathsDemo/assets/material/plane.mtl.meta b/BezierPathsDemo/assets/material/plane.mtl.meta new file mode 100644 index 0000000..4b1c531 --- /dev/null +++ b/BezierPathsDemo/assets/material/plane.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.9", + "importer": "material", + "imported": true, + "uuid": "23e988d0-7168-4fe2-9d46-f29c114e9e33", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/material/seafloor.mtl b/BezierPathsDemo/assets/material/seafloor.mtl new file mode 100644 index 0000000..7c7f64b --- /dev/null +++ b/BezierPathsDemo/assets/material/seafloor.mtl @@ -0,0 +1,42 @@ +{ + "__type__": "cc.Material", + "_name": "seafloor", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "1baf0fc9-befa-459c-8bdd-af1a450a0319" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_ALBEDO_MAP": true + } + ], + "_states": [ + { + "rasterizerState": {}, + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {} + } + ], + "_props": [ + { + "mainTexture": { + "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@2df3a" + }, + "albedoScale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "metallic": 0.400000005960464, + "roughness": 0.70710676908493, + "alphaThreshold": 0 + } + ] +} diff --git a/BezierPathsDemo/assets/material/seafloor.mtl.meta b/BezierPathsDemo/assets/material/seafloor.mtl.meta new file mode 100644 index 0000000..eb9a99a --- /dev/null +++ b/BezierPathsDemo/assets/material/seafloor.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.9", + "importer": "material", + "imported": true, + "uuid": "70d33758-1c1e-424d-b0ab-eac7410559bf", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/material/shield.mtl b/BezierPathsDemo/assets/material/shield.mtl new file mode 100644 index 0000000..6e09726 --- /dev/null +++ b/BezierPathsDemo/assets/material/shield.mtl @@ -0,0 +1,62 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "1baf0fc9-befa-459c-8bdd-af1a450a0319" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_ALBEDO_MAP": true + }, + { + "USE_ALBEDO_MAP": true + }, + { + "USE_ALBEDO_MAP": true + } + ], + "_states": [ + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + }, + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + }, + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + } + ], + "_props": [ + { + "alphaThreshold": 0, + "roughness": 0.70710676908493, + "metallic": 0.400000005960464, + "mainTexture": { + "__uuid__": "95e5b02a-e338-423c-bdbb-17486db1d9eb@6c48a" + } + }, + {}, + {} + ] +} diff --git a/BezierPathsDemo/assets/material/shield.mtl.meta b/BezierPathsDemo/assets/material/shield.mtl.meta new file mode 100644 index 0000000..1d18383 --- /dev/null +++ b/BezierPathsDemo/assets/material/shield.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.9", + "importer": "material", + "imported": true, + "uuid": "8e047178-f61c-4322-a2f6-d1adb28b6ae2", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/material/soldier.mtl b/BezierPathsDemo/assets/material/soldier.mtl new file mode 100644 index 0000000..c405305 --- /dev/null +++ b/BezierPathsDemo/assets/material/soldier.mtl @@ -0,0 +1,83 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "a7612b54-35e3-4238-a1a9-4a7b54635839" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_OUTLINE_PASS": true + }, + { + "USE_BASE_COLOR_MAP": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_2": true + }, + { + "USE_BASE_COLOR_MAP": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_2": true + }, + { + "USE_BASE_COLOR_MAP": true + } + ], + "_states": [ + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + }, + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + }, + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + }, + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + } + ], + "_props": [ + {}, + { + "specular": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "mainTexture": { + "__uuid__": "6f891a7b-5a08-48e6-9841-ddb364ac86b1@6c48a" + } + }, + {}, + {} + ] +} \ No newline at end of file diff --git a/BezierPathsDemo/assets/material/soldier.mtl.meta b/BezierPathsDemo/assets/material/soldier.mtl.meta new file mode 100644 index 0000000..0289264 --- /dev/null +++ b/BezierPathsDemo/assets/material/soldier.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.9", + "importer": "material", + "imported": true, + "uuid": "8a58ddec-f437-40b9-8ec0-1fc87de97fb5", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/material/stone.mtl b/BezierPathsDemo/assets/material/stone.mtl new file mode 100644 index 0000000..69da94f --- /dev/null +++ b/BezierPathsDemo/assets/material/stone.mtl @@ -0,0 +1,83 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "a7612b54-35e3-4238-a1a9-4a7b54635839" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_OUTLINE_PASS": true + }, + { + "USE_BASE_COLOR_MAP": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_2": true + }, + { + "USE_BASE_COLOR_MAP": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_2": true + }, + { + "USE_BASE_COLOR_MAP": true + } + ], + "_states": [ + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + }, + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + }, + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + }, + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + } + ], + "_props": [ + {}, + { + "specular": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "mainTexture": { + "__uuid__": "0718d996-39bf-4ab4-bb63-496666fef467@6c48a" + } + }, + {}, + {} + ] +} \ No newline at end of file diff --git a/BezierPathsDemo/assets/material/stone.mtl.meta b/BezierPathsDemo/assets/material/stone.mtl.meta new file mode 100644 index 0000000..eeaf407 --- /dev/null +++ b/BezierPathsDemo/assets/material/stone.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.9", + "importer": "material", + "imported": true, + "uuid": "a155f93b-7769-4ca4-b75f-b13e52193859", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/material/tree.mtl b/BezierPathsDemo/assets/material/tree.mtl new file mode 100644 index 0000000..120ce3e --- /dev/null +++ b/BezierPathsDemo/assets/material/tree.mtl @@ -0,0 +1,83 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "a7612b54-35e3-4238-a1a9-4a7b54635839" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_OUTLINE_PASS": true + }, + { + "USE_BASE_COLOR_MAP": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_2": true + }, + { + "USE_BASE_COLOR_MAP": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_1": true, + "BASE_COLOR_MAP_AS_SHADE_MAP_2": true + }, + { + "USE_BASE_COLOR_MAP": true + } + ], + "_states": [ + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + }, + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + }, + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + }, + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + } + ], + "_props": [ + {}, + { + "specular": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "mainTexture": { + "__uuid__": "c5083e75-ad2e-4ea9-8b33-dee748995b00@6c48a" + } + }, + {}, + {} + ] +} \ No newline at end of file diff --git a/BezierPathsDemo/assets/material/tree.mtl.meta b/BezierPathsDemo/assets/material/tree.mtl.meta new file mode 100644 index 0000000..4078086 --- /dev/null +++ b/BezierPathsDemo/assets/material/tree.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.9", + "importer": "material", + "imported": true, + "uuid": "7bf9df40-4bc9-4e25-8cb0-9a500f949102", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/model.meta b/BezierPathsDemo/assets/model.meta new file mode 100644 index 0000000..2408a58 --- /dev/null +++ b/BezierPathsDemo/assets/model.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "1ddc11ba-ecbd-4472-841c-f3777cb248da", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld.meta b/BezierPathsDemo/assets/model/helloWorld.meta new file mode 100644 index 0000000..9e85fa7 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "11a1d348-a622-41b2-89f3-ed24657e5f84", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/grass.meta b/BezierPathsDemo/assets/model/helloWorld/grass.meta new file mode 100644 index 0000000..c5088c9 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/grass.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "e00862a8-c500-427c-b76f-bbe5203f19cc", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/grass/grass.FBX b/BezierPathsDemo/assets/model/helloWorld/grass/grass.FBX new file mode 100644 index 0000000..b4b7ead Binary files /dev/null and b/BezierPathsDemo/assets/model/helloWorld/grass/grass.FBX differ diff --git a/BezierPathsDemo/assets/model/helloWorld/grass/grass.FBX.meta b/BezierPathsDemo/assets/model/helloWorld/grass/grass.FBX.meta new file mode 100644 index 0000000..4b646a4 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/grass/grass.FBX.meta @@ -0,0 +1,170 @@ +{ + "ver": "2.0.10", + "importer": "fbx", + "imported": true, + "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160", + "files": [], + "subMetas": { + "ef5e1": { + "importer": "gltf-mesh", + "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1", + "displayName": "", + "id": "ef5e1", + "name": "grass.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0 + } + }, + "73b7f": { + "importer": "gltf-animation", + "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f", + "displayName": "", + "id": "73b7f", + "name": "Take 001.animation", + "ver": "1.0.14", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "events": [], + "gltfIndex": 0, + "sample": 30, + "span": { + "from": 0, + "to": 3.3333332538604736 + }, + "wrapMode": 2, + "speed": 1 + } + }, + "438fe": { + "importer": "gltf-skeleton", + "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe", + "displayName": "", + "id": "438fe", + "name": "UnnamedSkeleton.skeleton", + "ver": "1.0.1", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0, + "jointsLength": 6 + } + }, + "80e0c": { + "importer": "gltf-embeded-image", + "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@80e0c", + "displayName": "", + "id": "80e0c", + "name": "grass.png.image", + "ver": "1.0.3", + "imported": true, + "files": [ + ".png", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0 + } + }, + "9787f": { + "importer": "texture", + "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@9787f", + "displayName": "", + "id": "9787f", + "name": "grass.texture", + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@80e0c" + } + }, + "3022b": { + "importer": "gltf-scene", + "uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@3022b", + "displayName": "", + "id": "3022b", + "name": "grass.prefab", + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0 + } + } + }, + "userData": { + "imageMetas": [ + { + "name": "grass.png", + "uri": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@80e0c" + } + ], + "animationImportSettings": [ + { + "name": "Take 001", + "duration": 3.3333332538604736, + "fps": 30, + "splits": [ + { + "name": "Take 001", + "from": 0, + "to": 3.3333332538604736, + "wrapMode": 2 + } + ] + } + ], + "redirect": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@3022b", + "assetFinder": { + "meshes": [ + "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + ], + "skeletons": [ + "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + ], + "textures": [ + "aade09ee-8f9d-413c-a9e8-8c686ea5e160@9787f" + ], + "materials": [ + "b698e55a-b00b-4987-a8b4-af83cddc59f7" + ], + "scenes": [ + "aade09ee-8f9d-413c-a9e8-8c686ea5e160@3022b" + ] + }, + "useVertexColors": true, + "dumpMaterials": true, + "materialDumpDir": "db://assets/model/helloWorld/grass", + "legacyFbxImporter": true + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/grass/grass.mtl b/BezierPathsDemo/assets/model/helloWorld/grass/grass.mtl new file mode 100644 index 0000000..5233edb --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/grass/grass.mtl @@ -0,0 +1,34 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_TEXTURE": true + } + ], + "_states": [ + { + "blendState": { + "targets": [ + {} + ] + }, + "depthStencilState": {}, + "rasterizerState": {} + } + ], + "_props": [ + { + "mainTexture": { + "__uuid__": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87@6c48a" + }, + "alphaThreshold": 0 + } + ] +} \ No newline at end of file diff --git a/BezierPathsDemo/assets/model/helloWorld/grass/grass.mtl.meta b/BezierPathsDemo/assets/model/helloWorld/grass/grass.mtl.meta new file mode 100644 index 0000000..9b34538 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/grass/grass.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.9", + "importer": "material", + "imported": true, + "uuid": "b698e55a-b00b-4987-a8b4-af83cddc59f7", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/model/helloWorld/grass/grass.png b/BezierPathsDemo/assets/model/helloWorld/grass/grass.png new file mode 100644 index 0000000..78406d7 Binary files /dev/null and b/BezierPathsDemo/assets/model/helloWorld/grass/grass.png differ diff --git a/BezierPathsDemo/assets/model/helloWorld/grass/grass.png.meta b/BezierPathsDemo/assets/model/helloWorld/grass/grass.png.meta new file mode 100644 index 0000000..d495b2a --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/grass/grass.png.meta @@ -0,0 +1,41 @@ +{ + "ver": "1.0.21", + "importer": "image", + "imported": true, + "uuid": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87", + "files": [ + ".png", + ".json" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87@6c48a", + "displayName": "grass", + "id": "6c48a", + "name": "texture", + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "linear", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87" + } + } + }, + "userData": { + "type": "texture", + "redirect": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87@6c48a", + "hasAlpha": false + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/grass/grass.prefab b/BezierPathsDemo/assets/model/helloWorld/grass/grass.prefab new file mode 100644 index 0000000..d062f56 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/grass/grass.prefab @@ -0,0 +1,589 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 20 + } + ], + "_prefab": { + "__id__": 21 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 7 + }, + { + "__id__": 13 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 19 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + } + ], + "_prefab": { + "__id__": 6 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 3 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 5 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 1 + }, + "_id": "", + "__prefab": { + "__id__": 22 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3aIX8gjK5JFK8ATDBKdax8" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 8 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 12 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [ + { + "__id__": 9 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 11 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 8 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1628kgL41EG4kfuuNtniX1" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d1mgL13wtIwojR/2FqCufO" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f5o8/2y99IcawmyX5Tnjyv" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 14 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 13 + }, + "_children": [ + { + "__id__": 15 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 17 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 16 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a2tndvTm9M84i3qPpLv8DA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c5xVHa1qBClrp5YbutRSaI" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3fxCLd4O9NUqkwJjBsDQgb" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b7w6U8zppFX54UJURtAWiT" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "playOnLoad": false, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 23 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fdSk3ayLBOH7saksB95r+y" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4a0+R4fHVFrZlL6GO9T0pE" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cbKownib1EnadGCwOGazFg" + } +] diff --git a/BezierPathsDemo/assets/model/helloWorld/grass/grass.prefab.meta b/BezierPathsDemo/assets/model/helloWorld/grass/grass.prefab.meta new file mode 100644 index 0000000..cc5d279 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/grass/grass.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.27", + "importer": "prefab", + "imported": true, + "uuid": "ebe68402-4803-40d3-b0a2-ca696e3f7c60", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "grass" + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/grass/grassGoup.prefab b/BezierPathsDemo/assets/model/helloWorld/grass/grassGoup.prefab new file mode 100644 index 0000000..5ba20dc --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/grass/grassGoup.prefab @@ -0,0 +1,7035 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "grassGoup", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 23 + }, + { + "__id__": 44 + }, + { + "__id__": 65 + }, + { + "__id__": 86 + }, + { + "__id__": 107 + }, + { + "__id__": 128 + }, + { + "__id__": 149 + }, + { + "__id__": 170 + }, + { + "__id__": 191 + }, + { + "__id__": 212 + }, + { + "__id__": 233 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 254 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + } + ], + "_active": true, + "_components": [ + { + "__id__": 21 + } + ], + "_prefab": { + "__id__": 22 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.852, + "y": 0.892, + "z": -1.49 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.8, + "y": 1.8, + "z": 1.8 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 4 + }, + { + "__id__": 8 + }, + { + "__id__": 14 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 20 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 3 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 4 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 6 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 2 + }, + "_id": "", + "__prefab": { + "__id__": 255 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5fs1r6h0xEiJFeWVPk8SNl" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 3 + }, + "_children": [ + { + "__id__": 9 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 13 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 8 + }, + "_children": [ + { + "__id__": 10 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 12 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 9 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 11 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8e/dPEvbdIMo48q55vpZZ3" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "beKna0bXZNtrHWMkpFZoVU" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "daWdShf/9NHLgm8BB+DJZm" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 3 + }, + "_children": [ + { + "__id__": 15 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 19 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 14 + }, + "_children": [ + { + "__id__": 16 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 15 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 17 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "96ATlvvpZKqpZWVYxnyW6U" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8fu8biB4BPFKtDBKsYv4K/" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "94aP4+w7dE/qUrh7Cfcv3Y" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "54SHCY049LyqH1HRGY3ZVR" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 256 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "87M1Av0v5LhZ3LsJOTzwr3" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 24 + } + ], + "_active": true, + "_components": [ + { + "__id__": 42 + } + ], + "_prefab": { + "__id__": 43 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 1.271, + "y": 0.836, + "z": -2.68 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": -0.09886819763876702, + "z": 0, + "w": 0.9951005373808527 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.4, + "y": 1.4, + "z": 1.4 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": -11.348, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 23 + }, + "_children": [ + { + "__id__": 25 + }, + { + "__id__": 29 + }, + { + "__id__": 35 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 41 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 24 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 26 + } + ], + "_prefab": { + "__id__": 28 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 25 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 27 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 23 + }, + "_id": "", + "__prefab": { + "__id__": 257 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "74Q+wg/aVBj5Bkvd+Cqz4L" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 24 + }, + "_children": [ + { + "__id__": 30 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 34 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 29 + }, + "_children": [ + { + "__id__": 31 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 33 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 30 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 32 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "af9wSIs/ZHx5FXOjfa1Jum" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "25LOOT8GBDpr0h1KIC5gCx" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4fGc2baulLjbJeePpPYcqt" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 24 + }, + "_children": [ + { + "__id__": 36 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 40 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 35 + }, + "_children": [ + { + "__id__": 37 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 39 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 36 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 38 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "65QAhjUVBAtLwEci9t05Ey" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e75gT5ogJMOoh/2sggS7OQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b8DSzxi5tJyKiMnjvG0NLg" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "bdiB2XMldLgpbPP0u9vyiH" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 23 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 258 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8avX4W7ZtLOLCZ8n5QtiPm" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 45 + } + ], + "_active": true, + "_components": [ + { + "__id__": 63 + } + ], + "_prefab": { + "__id__": 64 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.816, + "y": 0.874, + "z": -2.029 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.009594606467145706, + "y": -0.09840154486124139, + "z": -0.09656895017241425, + "w": 0.9904037143297977 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.8, + "y": 1.8, + "z": 1.8 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": -11.348, + "z": -11.138 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 44 + }, + "_children": [ + { + "__id__": 46 + }, + { + "__id__": 50 + }, + { + "__id__": 56 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 62 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 45 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 47 + } + ], + "_prefab": { + "__id__": 49 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 46 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 48 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 44 + }, + "_id": "", + "__prefab": { + "__id__": 259 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "60njdFxDhJWowG9HZr9kRy" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 45 + }, + "_children": [ + { + "__id__": 51 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 55 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 50 + }, + "_children": [ + { + "__id__": 52 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 54 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 51 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 53 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "91jR835RZHKbRhzSn1x2pJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3bw6IJ5hBJ0aqjcninjsA3" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "dfSzBMugdCkL5lyChYPcpt" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 45 + }, + "_children": [ + { + "__id__": 57 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 61 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 56 + }, + "_children": [ + { + "__id__": 58 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 60 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 57 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 59 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "977HJ5Wy5HiapZRnYB3I8X" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3da6ppQblGu7DGQDIjczFt" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "36km6+kJtJZ4iiy8pwU3RO" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0cYonIu91LHamoapMUydbc" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "grass", + "_objFlags": 0, + "node": { + "__id__": 44 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 260 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5fAmHUz0xO9YFym/gsZawP" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 66 + } + ], + "_active": true, + "_components": [ + { + "__id__": 84 + } + ], + "_prefab": { + "__id__": 85 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 1.505, + "y": 0.835, + "z": -2.352 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.009051343059323664, + "y": 0.011005731118140823, + "z": -0.042668681053864996, + "w": 0.9989876529409666 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.8, + "y": 1.8, + "z": 1.8 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.094, + "y": 1.309, + "z": -4.879 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 65 + }, + "_children": [ + { + "__id__": 67 + }, + { + "__id__": 71 + }, + { + "__id__": 77 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 83 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 66 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 68 + } + ], + "_prefab": { + "__id__": 70 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 67 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 69 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 65 + }, + "_id": "", + "__prefab": { + "__id__": 261 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f2zxp5nX1CJq18JC2EndYO" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 66 + }, + "_children": [ + { + "__id__": 72 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 76 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 71 + }, + "_children": [ + { + "__id__": 73 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 75 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 72 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 74 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "baL59AVvRKlKmpQqSjNAYI" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "89NJAVd1tBZ6C0iX/YbeY2" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3c+BtM6atJC4XerbYlNlM0" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 66 + }, + "_children": [ + { + "__id__": 78 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 82 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 77 + }, + "_children": [ + { + "__id__": 79 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 81 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 78 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 80 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "6fAgsRfRRHeoZrCvNeGhDK" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8exO45eF5F2KzRxFbNE1M/" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9byDe6eNtGPIztX4VSZKlQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2at9CGY1VK9qtNpM8kC/KU" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "grass", + "_objFlags": 0, + "node": { + "__id__": 65 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 262 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9bIVhdYYpFl7JZmL4oubNS" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 87 + } + ], + "_active": true, + "_components": [ + { + "__id__": 105 + } + ], + "_prefab": { + "__id__": 106 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 2.591, + "y": 0.697, + "z": -3.192 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.009569056200142995, + "y": -0.27238145223532967, + "z": -0.02174826425431747, + "w": 0.961895935454317 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.4, + "y": 1.4, + "z": 1.4 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -1.735, + "y": -31.653, + "z": -2.099 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 86 + }, + "_children": [ + { + "__id__": 88 + }, + { + "__id__": 92 + }, + { + "__id__": 98 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 104 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 87 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 89 + } + ], + "_prefab": { + "__id__": 91 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 88 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 90 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 86 + }, + "_id": "", + "__prefab": { + "__id__": 263 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a2WxB7prNBKZLuuRtE7RC2" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 87 + }, + "_children": [ + { + "__id__": 93 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 97 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 92 + }, + "_children": [ + { + "__id__": 94 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 96 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 93 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 95 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "65JgfqDUlBhq62ZblXl99a" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "613BOOO+hIlqnTjr1LZ7yD" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d9cSWZZzxJ0JJz3NZ3KYKr" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 87 + }, + "_children": [ + { + "__id__": 99 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 103 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 98 + }, + "_children": [ + { + "__id__": 100 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 102 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 99 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 101 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4bzVNkn1hF04sTb5BrBwWZ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "aea82LsKdAiqVuBFPi2Vfz" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "daMGy+QoZIMbYWUh1/PBDR" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "75DE0pyqBGsIOI2RSOFxap" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "grass", + "_objFlags": 0, + "node": { + "__id__": 86 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 264 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2d66RAsipF1brG2RGpHJY1" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 108 + } + ], + "_active": true, + "_components": [ + { + "__id__": 126 + } + ], + "_prefab": { + "__id__": 127 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -2.85, + "y": 0.766, + "z": -2.616 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.007707220961668685, + "y": -0.0985673335815995, + "z": 0.07757256533280044, + "w": 0.9920723646001587 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.8, + "y": 1.8, + "z": 1.8 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": -11.348, + "z": 8.942 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 107 + }, + "_children": [ + { + "__id__": 109 + }, + { + "__id__": 113 + }, + { + "__id__": 119 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 125 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 108 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 110 + } + ], + "_prefab": { + "__id__": 112 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 109 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 111 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 107 + }, + "_id": "", + "__prefab": { + "__id__": 265 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "32O+zfC79Ly5/JDvR+zPy3" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 108 + }, + "_children": [ + { + "__id__": 114 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 118 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 113 + }, + "_children": [ + { + "__id__": 115 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 117 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 114 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 116 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f31n3srf1OQ6ztTn+Z0+bi" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "39pnXuaeZGe5VqFTUXoXAo" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2csxgVNAlDEIWU7lnXQfKS" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 108 + }, + "_children": [ + { + "__id__": 120 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 124 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 119 + }, + "_children": [ + { + "__id__": 121 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 123 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 120 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 122 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c8HIUzEBxJx72ffmHr7Yzh" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "82tqRzYDNKi6iXruWWHldm" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e1Z+TO4odC37Bc8FKLNniF" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "12tzV7tYdKJJxbVmqiEpry" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "grass", + "_objFlags": 0, + "node": { + "__id__": 107 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 266 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ffwse8PqZBf4sIEkNdsA+i" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 129 + } + ], + "_active": true, + "_components": [ + { + "__id__": 147 + } + ], + "_prefab": { + "__id__": 148 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -3.252, + "y": 0.663, + "z": -3.355 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.005303598000440666, + "y": -0.09872584440048117, + "z": 0.053380291603709065, + "w": 0.9936677633716235 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.6, + "y": 1.6, + "z": 1.6 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 9.996766443584073e-17, + "y": -11.348, + "z": 6.150000000000002 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 128 + }, + "_children": [ + { + "__id__": 130 + }, + { + "__id__": 134 + }, + { + "__id__": 140 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 146 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 129 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 131 + } + ], + "_prefab": { + "__id__": 133 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 130 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 132 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 128 + }, + "_id": "", + "__prefab": { + "__id__": 267 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3c/GljN9JNKpGUQDJiCaAz" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 129 + }, + "_children": [ + { + "__id__": 135 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 139 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 134 + }, + "_children": [ + { + "__id__": 136 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 138 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 135 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 137 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9fnTS8hnVIWqrzTdhgEpre" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "77DlSvZMVCFLNlyGWiwIha" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "17tlC2EGZMWoKAixVNAp0A" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 129 + }, + "_children": [ + { + "__id__": 141 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 145 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 140 + }, + "_children": [ + { + "__id__": 142 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 144 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 141 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 143 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8cUixi2TpMHINjSklAPeYi" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b7XmnH2bBCVpvgTAKnVXA2" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d1EnMgh6RE7o+kI5cUNlG0" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0eVA3+ezRBf4EQOOoMIo4S" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "grass", + "_objFlags": 0, + "node": { + "__id__": 128 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 268 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "adNP+ELEhC4awfcKkY8jYJ" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 150 + } + ], + "_active": true, + "_components": [ + { + "__id__": 168 + } + ], + "_prefab": { + "__id__": 169 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -4.716, + "y": 0.534, + "z": -2.539 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.011417842217574529, + "y": 0.10201162854238845, + "z": 0.09441482697624534, + "w": 0.9902267926936081 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.2999999999999998, + "y": 1.3, + "z": 1.3 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -2.442, + "y": 11.991, + "z": 10.641 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 149 + }, + "_children": [ + { + "__id__": 151 + }, + { + "__id__": 155 + }, + { + "__id__": 161 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 167 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 150 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 152 + } + ], + "_prefab": { + "__id__": 154 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 151 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 153 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 149 + }, + "_id": "", + "__prefab": { + "__id__": 269 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "43yCcO1I5D6qP+LJIIGKjX" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 150 + }, + "_children": [ + { + "__id__": 156 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 160 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 155 + }, + "_children": [ + { + "__id__": 157 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 159 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 156 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 158 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d5T2sohQVAEa4ljoSzlMKU" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "93hV+qqgFP44pIvuByy6RE" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0aJTcuk/5M56nEkb+D7tN9" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 150 + }, + "_children": [ + { + "__id__": 162 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 166 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 161 + }, + "_children": [ + { + "__id__": 163 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 165 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 162 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 164 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "6c2sTe+khLGYrsZVSADL4H" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ecsSU+lvpNf7DhOOeFG7w2" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "6etpava3ZGlovr3HG7SpRo" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "53OGGCuwFNs4KQ0nQRdow5" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "grass", + "_objFlags": 0, + "node": { + "__id__": 149 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 270 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "33gYFxG8dO2r8iKjzjEx4z" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 171 + } + ], + "_active": true, + "_components": [ + { + "__id__": 189 + } + ], + "_prefab": { + "__id__": 190 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -3.151, + "y": 0.706, + "z": -2.905 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.01606605470413201, + "y": 0.10576273729137807, + "z": 0.0511818299419083, + "w": 0.9929433748057723 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.6, + "y": 1.6, + "z": 1.6 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -2.461, + "y": 12.281, + "z": 5.638 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 170 + }, + "_children": [ + { + "__id__": 172 + }, + { + "__id__": 176 + }, + { + "__id__": 182 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 188 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 171 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 173 + } + ], + "_prefab": { + "__id__": 175 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 172 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 174 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 170 + }, + "_id": "", + "__prefab": { + "__id__": 271 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "87cW2HzEtNk4+RMW95NbLB" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 171 + }, + "_children": [ + { + "__id__": 177 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 181 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 176 + }, + "_children": [ + { + "__id__": 178 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 180 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 177 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 179 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5bcVkwfGRPza49BU4T6rqn" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fcqb+cLDVJ3KNvBTyJYBwm" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "16ssZzbLdO76GQg4Dvdp/y" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 171 + }, + "_children": [ + { + "__id__": 183 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 187 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 182 + }, + "_children": [ + { + "__id__": 184 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 186 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 183 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 185 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0b/yPLcR1FiZPqyfaG8HBZ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0fPapM97RGmYmlB69FuuSF" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0eRKfLOh9OdLsOOjTosv1c" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "560/1xR41BPKG+lcc5935I" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "grass", + "_objFlags": 0, + "node": { + "__id__": 170 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 272 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "27mCip0lFNkL+6Dj/Bpwj4" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 192 + } + ], + "_active": true, + "_components": [ + { + "__id__": 210 + } + ], + "_prefab": { + "__id__": 211 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 2.179, + "y": 0.714, + "z": -3.159 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.0002046174412504865, + "y": -0.2725489284000769, + "z": -0.05622568582446521, + "w": 0.9604976376926917 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.4, + "y": 1.4, + "z": 1.4 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -1.744, + "y": -31.778, + "z": -6.207 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 191 + }, + "_children": [ + { + "__id__": 193 + }, + { + "__id__": 197 + }, + { + "__id__": 203 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 209 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 192 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 194 + } + ], + "_prefab": { + "__id__": 196 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 193 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 195 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 191 + }, + "_id": "", + "__prefab": { + "__id__": 273 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "08LJZ1ezRCiqnszI5cXQTx" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 192 + }, + "_children": [ + { + "__id__": 198 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 202 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 197 + }, + "_children": [ + { + "__id__": 199 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 201 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 198 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 200 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d8OdalQsZKwLFf2mFuR1VJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ecFy8CTgxCib8Fky/YcoUL" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c9g0zchT9L8IQmY+99TABR" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 192 + }, + "_children": [ + { + "__id__": 204 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 208 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 203 + }, + "_children": [ + { + "__id__": 205 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 207 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 204 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 206 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "66R8TA3S1NT4HLywjDiP1Q" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "963dgjTmdES7q6KBvCTllJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "91+xPZxDtGRp/x7cNrBUhM" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "25mf8t9bhJIo3E0lcGCo1H" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "grass", + "_objFlags": 0, + "node": { + "__id__": 191 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 274 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "50aim7sdtB2rmsHB4KRkd5" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 213 + } + ], + "_active": true, + "_components": [ + { + "__id__": 231 + } + ], + "_prefab": { + "__id__": 232 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 5.041, + "y": 0.406, + "z": -3.58 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.026333680128465056, + "y": -0.27127042474669716, + "z": -0.14805365417229147, + "w": 0.9506834433368816 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.4, + "y": 1.4, + "z": 1.4 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -1.815, + "y": -32.126, + "z": -17.205 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 212 + }, + "_children": [ + { + "__id__": 214 + }, + { + "__id__": 218 + }, + { + "__id__": 224 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 230 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 213 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 215 + } + ], + "_prefab": { + "__id__": 217 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 214 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 216 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 212 + }, + "_id": "", + "__prefab": { + "__id__": 275 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "203+J3Vb1LP7KUgkjLvNtX" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 213 + }, + "_children": [ + { + "__id__": 219 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 223 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 218 + }, + "_children": [ + { + "__id__": 220 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 222 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 219 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 221 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3aJII/zG9KaYapX0uizphW" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "48r+NZR1BD7Y5qEv/ruQsO" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9eOEdVVahA+rbDiF4AJNNX" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 213 + }, + "_children": [ + { + "__id__": 225 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 229 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 224 + }, + "_children": [ + { + "__id__": 226 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 228 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 225 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 227 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1fFpy0ihVOYbzhBLRLkL1Y" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d9iCqzyppAILXebiHSqtDk" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "469eCD0ttKHZacZ3xtfeuD" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9dXaYb8ytBBb2yYH4yN6Vh" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "grass", + "_objFlags": 0, + "node": { + "__id__": 212 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 276 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "70DWXrCRRL4pWATtzgi7DN" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 234 + } + ], + "_active": true, + "_components": [ + { + "__id__": 252 + } + ], + "_prefab": { + "__id__": 253 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 4.153, + "y": 0.548, + "z": -3.566 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.01263456693718553, + "y": -0.27225485806840527, + "z": -0.09997674733537244, + "w": 0.9569338064718487 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.4, + "y": 1.4, + "z": 1.4 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -1.769, + "y": -31.94, + "z": -11.433 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 233 + }, + "_children": [ + { + "__id__": 235 + }, + { + "__id__": 239 + }, + { + "__id__": 245 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 251 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "grass", + "_objFlags": 0, + "_parent": { + "__id__": 234 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 236 + } + ], + "_prefab": { + "__id__": 238 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.37992816729770207, + "y": 0.5963678291908521, + "z": 0.5963678291908521, + "w": -0.37992816729770207 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.614784121513367, + "y": 0.614784121513367, + "z": 0.614784121513367 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -115.0000056286655, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 235 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 237 + }, + "_mesh": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe" + }, + "_skinningRoot": { + "__id__": 233 + }, + "_id": "", + "__prefab": { + "__id__": 277 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "80TsYKkUVBAIbPGc2Ao+X4" + }, + { + "__type__": "cc.Node", + "_name": "Bone001", + "_objFlags": 0, + "_parent": { + "__id__": 234 + }, + "_children": [ + { + "__id__": 240 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 244 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0461842827498913, + "y": 0.0000118009265861474, + "z": -0.0284814611077309 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone002", + "_objFlags": 0, + "_parent": { + "__id__": 239 + }, + "_children": [ + { + "__id__": 241 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 243 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -3.57627860658738e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone003", + "_objFlags": 0, + "_parent": { + "__id__": 240 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 242 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0397140197455883, + "y": -1.19209286886246e-9, + "z": 7.15255721317476e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "6aDs2ciZhDh6tahiNmO4QO" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1er+9JvftCj5j548DE5PNk" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "54j/6cneBCF4PpXQIO+ZrT" + }, + { + "__type__": "cc.Node", + "_name": "Bone004", + "_objFlags": 0, + "_parent": { + "__id__": 234 + }, + "_children": [ + { + "__id__": 246 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 250 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0710692703723907, + "y": 0.0000118009265861474, + "z": 0.0136896027252078 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0000017283479103639154, + "y": -0.000001696768662714476, + "z": 0.7049074170330618, + "w": 0.7092993256770451 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.0005507418826256091, + "y": 0.00027320859410338513, + "z": 89.64412979694991 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone005", + "_objFlags": 0, + "_parent": { + "__id__": 245 + }, + "_children": [ + { + "__id__": 247 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 249 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0404664427042007, + "y": -4.76837147544984e-9, + "z": 5.9604643443123e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.000002421418716486127, + "y": 1.5182564735607207e-8, + "z": 0.006269989150778519, + "w": 0.9999803434219023 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000277479600078167, + "y": -3.18993241527229e-13, + "z": 0.7184925395739944 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bone006", + "_objFlags": 0, + "_parent": { + "__id__": 246 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 248 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.039714016020298, + "y": 0, + "z": 7.74860353658369e-9 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 1.4018830392883508e-10, + "y": -1.4662893682703937e-13, + "z": -0.0010459420626472054, + "w": 0.9999994530024512 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 1.606440509162768e-8, + "y": -1.4726229276075984e-18, + "z": -0.11985615346346049 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1eZ45FwjhMoY5AmDd/ApaW" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7fkJUsKFZMHbutZKiHcKAf" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c8ON8aNTZH1YV9KZsolNGO" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fa4L3FVuFMwYhNq67HoU7c" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "grass", + "_objFlags": 0, + "node": { + "__id__": 233 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 278 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7aOtJ3fThN27Zj4fmkg0ut" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e5Peksu5tL9peMeABb8/JC" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "47zIzNBCBNWpHG32eDyrxp" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7bKAX+g0hOqZeDhmkHG0IO" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "40X4tSMKxI+6zwgQ3Rwf/A" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "30kRInnuRN6qPrWxAcm+CI" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c3TlGKm2VDyqqklAluBrr7" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "94vToBjvVOSp7Oc32RikBR" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "10+VGsdAVN6LIgVeFtQ5bK" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a0QNySDClKpaFLLhtz8g/R" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e9xwES3AdHxJi5coUOv36/" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "afdfCOgCJNuKPmVT+dOTcZ" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "93I8/O8TJPmL3J+cSBnn74" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f5E2ZKrANAhqLVdak99Arg" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "58r+OjAt5IA4RiLwdN8c3y" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1bP72q34xD1rNdA/oy7MmS" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a5NJSBP+9JrKy6+h3VfngD" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "03ik2XrVtDJb1vo0EtpvYI" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2ISYx6glGKryX0KFY7620" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3ci0uo8OJIWZiblaEzXfOe" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e6mW8ZFDhHUJHvdOH+WypT" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2cG8FI7JZHkZSXmRvjunfO" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "840DRWYY5A/oRcjeJH91ox" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a9k81Zta1ETIz9cTVaaI0c" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7aD+wdrbJHeqrEmpgGnsZv" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "38NdVKbuRLrrLIaNrkMsRY" + } +] diff --git a/BezierPathsDemo/assets/model/helloWorld/grass/grassGoup.prefab.meta b/BezierPathsDemo/assets/model/helloWorld/grass/grassGoup.prefab.meta new file mode 100644 index 0000000..cd77321 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/grass/grassGoup.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.27", + "importer": "prefab", + "imported": true, + "uuid": "5e4d48c4-0e34-45af-a268-89485197e8bc", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "grassGoup" + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/hdcSky.FBX b/BezierPathsDemo/assets/model/helloWorld/hdcSky.FBX new file mode 100644 index 0000000..e8c5d98 Binary files /dev/null and b/BezierPathsDemo/assets/model/helloWorld/hdcSky.FBX differ diff --git a/BezierPathsDemo/assets/model/helloWorld/hdcSky.FBX.meta b/BezierPathsDemo/assets/model/helloWorld/hdcSky.FBX.meta new file mode 100644 index 0000000..e2abe3d --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/hdcSky.FBX.meta @@ -0,0 +1,110 @@ +{ + "ver": "2.0.10", + "importer": "fbx", + "imported": true, + "uuid": "929e58ce-66a4-4e04-9036-4244456a1220", + "files": [], + "subMetas": { + "f6832": { + "importer": "gltf-mesh", + "uuid": "929e58ce-66a4-4e04-9036-4244456a1220@f6832", + "displayName": "", + "id": "f6832", + "name": "hdcSky.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0 + } + }, + "7f40d": { + "importer": "gltf-embeded-image", + "uuid": "929e58ce-66a4-4e04-9036-4244456a1220@7f40d", + "displayName": "", + "id": "7f40d", + "name": "hdcSky.image", + "ver": "1.0.3", + "imported": true, + "files": [ + ".png", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0 + } + }, + "d6067": { + "importer": "texture", + "uuid": "929e58ce-66a4-4e04-9036-4244456a1220@d6067", + "displayName": "", + "id": "d6067", + "name": "hdcSky.texture", + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "929e58ce-66a4-4e04-9036-4244456a1220@7f40d" + } + }, + "bfc57": { + "importer": "gltf-scene", + "uuid": "929e58ce-66a4-4e04-9036-4244456a1220@bfc57", + "displayName": "", + "id": "bfc57", + "name": "hdcSky.prefab", + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0 + } + } + }, + "userData": { + "imageMetas": [ + { + "name": "hdcSky", + "uri": "929e58ce-66a4-4e04-9036-4244456a1220@7f40d" + } + ], + "redirect": "929e58ce-66a4-4e04-9036-4244456a1220@bfc57", + "assetFinder": { + "meshes": [ + "929e58ce-66a4-4e04-9036-4244456a1220@f6832" + ], + "skeletons": [], + "textures": [ + "929e58ce-66a4-4e04-9036-4244456a1220@d6067" + ], + "materials": [ + "482a5162-dad9-446c-b548-8486c7598ee1" + ], + "scenes": [ + "929e58ce-66a4-4e04-9036-4244456a1220@bfc57" + ] + }, + "dumpMaterials": true, + "materialDumpDir": "db://assets/material", + "legacyFbxImporter": true + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/hdcSky.prefab b/BezierPathsDemo/assets/model/helloWorld/hdcSky.prefab new file mode 100644 index 0000000..5bc5c27 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/hdcSky.prefab @@ -0,0 +1,223 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "hdcSky", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 8 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "hdcSky", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + } + ], + "_prefab": { + "__id__": 6 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0.00000556361783310422 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865476, + "y": 0, + "z": 0, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.57702493667603, + "y": 2.57702493667603, + "z": 2.57702493667603 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90.00000000000003, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 3 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "482a5162-dad9-446c-b548-8486c7598ee1" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 5 + }, + "_mesh": { + "__uuid__": "929e58ce-66a4-4e04-9036-4244456a1220@f6832" + }, + "_shadowCastingMode": 0, + "_enableMorph": true, + "_id": "", + "__prefab": { + "__id__": 9 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "537wfATPdERIxNoHyImaal" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "68pBvn4L5LzqzYlxlqIh1Z" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a0C8RfybZDJbzD2rhAA/j8" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b5IvvQucVPBaLUcNTcK1KI" + } +] diff --git a/BezierPathsDemo/assets/model/helloWorld/hdcSky.prefab.meta b/BezierPathsDemo/assets/model/helloWorld/hdcSky.prefab.meta new file mode 100644 index 0000000..18a55d3 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/hdcSky.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.27", + "importer": "prefab", + "imported": true, + "uuid": "f0512d7a-e4f6-4209-8dc0-ed1de7149c85", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "hdcSky" + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/islands.FBX b/BezierPathsDemo/assets/model/helloWorld/islands.FBX new file mode 100644 index 0000000..fb0021b Binary files /dev/null and b/BezierPathsDemo/assets/model/helloWorld/islands.FBX differ diff --git a/BezierPathsDemo/assets/model/helloWorld/islands.FBX.meta b/BezierPathsDemo/assets/model/helloWorld/islands.FBX.meta new file mode 100644 index 0000000..2f8d2ec --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/islands.FBX.meta @@ -0,0 +1,366 @@ +{ + "ver": "2.0.10", + "importer": "fbx", + "imported": true, + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623", + "files": [], + "subMetas": { + "71919": { + "importer": "gltf-mesh", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@71919", + "displayName": "", + "id": "71919", + "name": "tree1-6.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 6 + } + }, + "2b0a8": { + "importer": "gltf-mesh", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@2b0a8", + "displayName": "", + "id": "2b0a8", + "name": "plane01-0.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0 + } + }, + "4a7d8": { + "importer": "gltf-mesh", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@4a7d8", + "displayName": "", + "id": "4a7d8", + "name": "stone1-1.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 1 + } + }, + "0e750": { + "importer": "gltf-mesh", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@0e750", + "displayName": "", + "id": "0e750", + "name": "tree1-2.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 2 + } + }, + "ef86b": { + "importer": "gltf-mesh", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@ef86b", + "displayName": "", + "id": "ef86b", + "name": "tree1-3.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 3 + } + }, + "426f2": { + "importer": "gltf-mesh", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@426f2", + "displayName": "", + "id": "426f2", + "name": "tree1-4.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 4 + } + }, + "754a2": { + "importer": "gltf-mesh", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@754a2", + "displayName": "", + "id": "754a2", + "name": "tree1-5.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 5 + } + }, + "1332c": { + "importer": "gltf-mesh", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@1332c", + "displayName": "", + "id": "1332c", + "name": "tree1-7.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 7 + } + }, + "4d16f": { + "importer": "gltf-mesh", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@4d16f", + "displayName": "", + "id": "4d16f", + "name": "tree1-8.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 8 + } + }, + "efe84": { + "importer": "gltf-mesh", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@efe84", + "displayName": "", + "id": "efe84", + "name": "tree1-9.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 9 + } + }, + "baeab": { + "importer": "gltf-embeded-image", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@baeab", + "displayName": "", + "id": "baeab", + "name": "seafloor.jpg.image", + "ver": "1.0.3", + "imported": true, + "files": [ + ".jpg", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0 + } + }, + "eeccb": { + "importer": "gltf-embeded-image", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@eeccb", + "displayName": "", + "id": "eeccb", + "name": "stone.jpg.image", + "userData": { + "gltfIndex": 1 + }, + "ver": "1.0.3", + "imported": true, + "files": [ + ".jpg", + ".json" + ], + "subMetas": {} + }, + "3b6f8": { + "importer": "gltf-embeded-image", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@3b6f8", + "displayName": "", + "id": "3b6f8", + "name": "tree.png.image", + "userData": { + "gltfIndex": 2 + }, + "ver": "1.0.3", + "imported": true, + "files": [ + ".png", + ".json" + ], + "subMetas": {} + }, + "2df3a": { + "importer": "texture", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@2df3a", + "displayName": "", + "id": "2df3a", + "name": "seafloor.texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "0ab3142a-6968-4073-95af-026bc3b23623@baeab" + }, + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "91a84": { + "importer": "texture", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@91a84", + "displayName": "", + "id": "91a84", + "name": "stone.texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "0ab3142a-6968-4073-95af-026bc3b23623@eeccb" + }, + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "0595c": { + "importer": "texture", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@0595c", + "displayName": "", + "id": "0595c", + "name": "tree.texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "0ab3142a-6968-4073-95af-026bc3b23623@3b6f8" + }, + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "cc8e5": { + "importer": "gltf-scene", + "uuid": "0ab3142a-6968-4073-95af-026bc3b23623@cc8e5", + "displayName": "", + "id": "cc8e5", + "name": "islands.prefab", + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0 + } + } + }, + "userData": { + "imageMetas": [ + { + "name": "seafloor.jpg", + "uri": "0ab3142a-6968-4073-95af-026bc3b23623@baeab" + }, + { + "name": "stone.jpg", + "uri": "0ab3142a-6968-4073-95af-026bc3b23623@eeccb" + }, + { + "name": "tree.png", + "uri": "0ab3142a-6968-4073-95af-026bc3b23623@3b6f8" + } + ], + "redirect": "0ab3142a-6968-4073-95af-026bc3b23623@cc8e5", + "assetFinder": { + "meshes": [ + "0ab3142a-6968-4073-95af-026bc3b23623@2b0a8", + "0ab3142a-6968-4073-95af-026bc3b23623@4a7d8", + "0ab3142a-6968-4073-95af-026bc3b23623@0e750", + "0ab3142a-6968-4073-95af-026bc3b23623@ef86b", + "0ab3142a-6968-4073-95af-026bc3b23623@426f2", + "0ab3142a-6968-4073-95af-026bc3b23623@754a2", + "0ab3142a-6968-4073-95af-026bc3b23623@71919", + "0ab3142a-6968-4073-95af-026bc3b23623@1332c", + "0ab3142a-6968-4073-95af-026bc3b23623@4d16f", + "0ab3142a-6968-4073-95af-026bc3b23623@efe84" + ], + "skeletons": [], + "textures": [ + "0ab3142a-6968-4073-95af-026bc3b23623@2df3a", + "0ab3142a-6968-4073-95af-026bc3b23623@91a84", + "0ab3142a-6968-4073-95af-026bc3b23623@0595c" + ], + "materials": [ + "70d33758-1c1e-424d-b0ab-eac7410559bf", + "a155f93b-7769-4ca4-b75f-b13e52193859", + "7bf9df40-4bc9-4e25-8cb0-9a500f949102" + ], + "scenes": [ + "0ab3142a-6968-4073-95af-026bc3b23623@cc8e5" + ] + }, + "dumpMaterials": true, + "materialDumpDir": "db://assets/material", + "legacyFbxImporter": true + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/islands.prefab b/BezierPathsDemo/assets/model/helloWorld/islands.prefab new file mode 100644 index 0000000..dad2933 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/islands.prefab @@ -0,0 +1,1178 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "islands", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 44 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 7 + }, + { + "__id__": 11 + }, + { + "__id__": 15 + }, + { + "__id__": 19 + }, + { + "__id__": 23 + }, + { + "__id__": 27 + }, + { + "__id__": 31 + }, + { + "__id__": 35 + }, + { + "__id__": 39 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 43 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "plane01", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + } + ], + "_prefab": { + "__id__": 6 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -2.35098645956703e-40, + "z": 2.1031643981928e-8 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865476, + "y": 0, + "z": 0, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 4.25968408584595, + "y": 4.25968408584595, + "z": 2.35247683525085 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90.00000000000003, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 3 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "70d33758-1c1e-424d-b0ab-eac7410559bf" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 5 + }, + "_mesh": { + "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@2b0a8" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_id": "", + "__prefab": { + "__id__": 45 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "70dgNwYARPfbvgVcNs+gIQ" + }, + { + "__type__": "cc.Node", + "_name": "stone1", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 8 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -1.68451106548309, + "y": 0.804959058761597, + "z": -2.55509376525879 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 8.146034247147303e-8, + "y": 0, + "z": 0, + "w": 0.9999999999999967 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.111417099833488, + "y": 0.111417099833488, + "z": 0.111417099833488 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.000009334667642611398, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 7 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "a155f93b-7769-4ca4-b75f-b13e52193859" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 9 + }, + "_mesh": { + "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@4a7d8" + }, + "_shadowCastingMode": 1, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_id": "", + "__prefab": { + "__id__": 46 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fd517lz3tOuqVWGd5300X6" + }, + { + "__type__": "cc.Node", + "_name": "tree1", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 12 + } + ], + "_prefab": { + "__id__": 14 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 2.69967889785767, + "y": 0.392187118530273, + "z": -3.67192149162292 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865476, + "y": 0, + "z": 0, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90.00000000000003, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 11 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 13 + }, + "_mesh": { + "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@0e750" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_id": "", + "__prefab": { + "__id__": 47 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1evO3wfhhGVomhJPkvbiM/" + }, + { + "__type__": "cc.Node", + "_name": "tree1(__autogen 3)", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 4.34285020828247, + "y": 0.273025780916214, + "z": -4.5796275138855 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865476, + "y": 0, + "z": 0, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90.00000000000003, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 15 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 17 + }, + "_mesh": { + "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@ef86b" + }, + "_shadowCastingMode": 1, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_id": "", + "__prefab": { + "__id__": 48 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "91DpAWXZ9CFJ+Wk1gnOU27" + }, + { + "__type__": "cc.Node", + "_name": "tree1(__autogen 4)", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 20 + } + ], + "_prefab": { + "__id__": 22 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -2.78155946731567, + "y": 0.366120487451553, + "z": -5.44366216659546 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865476, + "y": 0, + "z": 0, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90.00000000000003, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 19 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 21 + }, + "_mesh": { + "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@426f2" + }, + "_shadowCastingMode": 1, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_id": "", + "__prefab": { + "__id__": 49 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "03YnQPZo5Nc7TYZfZ1EVIK" + }, + { + "__type__": "cc.Node", + "_name": "tree1(__autogen 5)", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 24 + } + ], + "_prefab": { + "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -3.78196001052856, + "y": 0.328564822673798, + "z": -3.62895131111145 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865447, + "y": -6.18172403853676e-8, + "z": -6.18172403853676e-8, + "w": 0.7071067811865447 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -89.99999999999999, + "y": -0.000010017912624975451, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 23 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 25 + }, + "_mesh": { + "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@754a2" + }, + "_shadowCastingMode": 1, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_id": "", + "__prefab": { + "__id__": 50 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "aehmnp6BdEt5duOREy07Ic" + }, + { + "__type__": "cc.Node", + "_name": "tree1(__autogen 6)", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 28 + } + ], + "_prefab": { + "__id__": 30 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -6.02857780456543, + "y": 0.0573978498578072, + "z": -3.32550001144409 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865476, + "y": 0, + "z": 0, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90.00000000000003, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 27 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 29 + }, + "_mesh": { + "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@71919" + }, + "_shadowCastingMode": 1, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_id": "", + "__prefab": { + "__id__": 51 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1dXVprqA1AkpKbrdcroE4U" + }, + { + "__type__": "cc.Node", + "_name": "tree1(__autogen 7)", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 34 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.547172009944916, + "y": 0.595235526561737, + "z": -3.40697646141052 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865476, + "y": 0, + "z": 0, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90.00000000000003, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 31 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 33 + }, + "_mesh": { + "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@1332c" + }, + "_shadowCastingMode": 1, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_id": "", + "__prefab": { + "__id__": 52 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c2n9MRvPxJRbv1PP2mhkZO" + }, + { + "__type__": "cc.Node", + "_name": "tree1(__autogen 8)", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 36 + } + ], + "_prefab": { + "__id__": 38 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -6.58904409408569, + "y": 0.117208734154701, + "z": -1.02060234546661 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865476, + "y": 0, + "z": 0, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90.00000000000003, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 35 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 37 + }, + "_mesh": { + "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@4d16f" + }, + "_shadowCastingMode": 1, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_id": "", + "__prefab": { + "__id__": 53 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e7VpTFkQ1Ev40vpNxYe7EG" + }, + { + "__type__": "cc.Node", + "_name": "tree1(__autogen 9)", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 40 + } + ], + "_prefab": { + "__id__": 42 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 5.92053079605103, + "y": 0.1805190294981, + "z": -2.71322011947632 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865447, + "y": -6.18172403853676e-8, + "z": -6.18172403853676e-8, + "w": 0.7071067811865447 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2.53999996185303, + "y": 2.53999996185303, + "z": 2.53999996185303 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -89.99999999999999, + "y": -0.000010017912624975451, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 39 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7bf9df40-4bc9-4e25-8cb0-9a500f949102" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 41 + }, + "_mesh": { + "__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@efe84" + }, + "_shadowCastingMode": 1, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_id": "", + "__prefab": { + "__id__": 54 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a1wQefYUNInYWhsOmPzInv" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "068WXOAs1HrIDx+RBQ6XoV" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "26LvC5hbxAuJZ9Jl2SB/IV" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "51hCg8iAtNH7Y8tFmjcReC" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a5lPGPNiRFyYOdWQjG/b0f" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0e0TrsaGNPuqA9aTE8D4Nk" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b2V95T98pKHKMT45BvbluE" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a5saPwk+JMQL5Lq58uy7AY" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "daTMPC3tREPZkWvwlBJcHc" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b0U+7Hov5N2ohB9ah1W4qG" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c7PVqB27VLuId2A9s2UjiG" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2aF+lIZypORYarUrk8nKFL" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a49LqePSVFgIALN9RlzTbZ" + } +] diff --git a/BezierPathsDemo/assets/model/helloWorld/islands.prefab.meta b/BezierPathsDemo/assets/model/helloWorld/islands.prefab.meta new file mode 100644 index 0000000..f64a322 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/islands.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.27", + "importer": "prefab", + "imported": true, + "uuid": "ccc3a755-7d3d-4304-aa3b-ca4792d79d9f", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "islands" + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/seafloor.jpg b/BezierPathsDemo/assets/model/helloWorld/seafloor.jpg new file mode 100644 index 0000000..137b9b4 Binary files /dev/null and b/BezierPathsDemo/assets/model/helloWorld/seafloor.jpg differ diff --git a/BezierPathsDemo/assets/model/helloWorld/seafloor.jpg.meta b/BezierPathsDemo/assets/model/helloWorld/seafloor.jpg.meta new file mode 100644 index 0000000..65200fc --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/seafloor.jpg.meta @@ -0,0 +1,41 @@ +{ + "ver": "1.0.21", + "importer": "image", + "imported": true, + "uuid": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee", + "files": [ + ".jpg", + ".json" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee@6c48a", + "displayName": "seafloor", + "id": "6c48a", + "name": "texture", + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee" + } + } + }, + "userData": { + "type": "texture", + "redirect": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee@6c48a", + "hasAlpha": false + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/shield.jpg b/BezierPathsDemo/assets/model/helloWorld/shield.jpg new file mode 100644 index 0000000..3fa717c Binary files /dev/null and b/BezierPathsDemo/assets/model/helloWorld/shield.jpg differ diff --git a/BezierPathsDemo/assets/model/helloWorld/shield.jpg.meta b/BezierPathsDemo/assets/model/helloWorld/shield.jpg.meta new file mode 100644 index 0000000..24954d7 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/shield.jpg.meta @@ -0,0 +1,41 @@ +{ + "ver": "1.0.21", + "importer": "image", + "imported": true, + "uuid": "95e5b02a-e338-423c-bdbb-17486db1d9eb", + "files": [ + ".jpg", + ".json" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "95e5b02a-e338-423c-bdbb-17486db1d9eb@6c48a", + "displayName": "shield", + "id": "6c48a", + "name": "texture", + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "95e5b02a-e338-423c-bdbb-17486db1d9eb" + } + } + }, + "userData": { + "type": "texture", + "redirect": "95e5b02a-e338-423c-bdbb-17486db1d9eb@6c48a", + "hasAlpha": false + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/sky.png b/BezierPathsDemo/assets/model/helloWorld/sky.png new file mode 100644 index 0000000..4699ff7 Binary files /dev/null and b/BezierPathsDemo/assets/model/helloWorld/sky.png differ diff --git a/BezierPathsDemo/assets/model/helloWorld/sky.png.meta b/BezierPathsDemo/assets/model/helloWorld/sky.png.meta new file mode 100644 index 0000000..a5a6075 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/sky.png.meta @@ -0,0 +1,41 @@ +{ + "ver": "1.0.21", + "importer": "image", + "imported": true, + "uuid": "dc4a96c7-321a-48af-81e5-1127ad3ae432", + "files": [ + ".png", + ".json" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "dc4a96c7-321a-48af-81e5-1127ad3ae432@6c48a", + "displayName": "sky", + "id": "6c48a", + "name": "texture", + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "dc4a96c7-321a-48af-81e5-1127ad3ae432" + } + } + }, + "userData": { + "type": "texture", + "redirect": "dc4a96c7-321a-48af-81e5-1127ad3ae432@6c48a", + "hasAlpha": false + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/soldier.FBX b/BezierPathsDemo/assets/model/helloWorld/soldier.FBX new file mode 100644 index 0000000..d6f52fd Binary files /dev/null and b/BezierPathsDemo/assets/model/helloWorld/soldier.FBX differ diff --git a/BezierPathsDemo/assets/model/helloWorld/soldier.FBX.meta b/BezierPathsDemo/assets/model/helloWorld/soldier.FBX.meta new file mode 100644 index 0000000..a18dd7c --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/soldier.FBX.meta @@ -0,0 +1,307 @@ +{ + "ver": "2.0.10", + "importer": "fbx", + "imported": true, + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289", + "files": [], + "subMetas": { + "18751": { + "importer": "gltf-mesh", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@18751", + "displayName": "", + "id": "18751", + "name": "soldier.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0 + } + }, + "30732": { + "importer": "gltf-skeleton", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@30732", + "displayName": "", + "id": "30732", + "name": "UnnamedSkeleton-0.skeleton", + "ver": "1.0.1", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0, + "jointsLength": 22 + } + }, + "da6f3": { + "importer": "gltf-mesh", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@da6f3", + "displayName": "", + "id": "da6f3", + "name": "shield.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 1 + } + }, + "4b929": { + "importer": "gltf-mesh", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@4b929", + "displayName": "", + "id": "4b929", + "name": "sword.mesh", + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 2 + } + }, + "39f7b": { + "importer": "gltf-mesh", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@39f7b", + "displayName": "", + "id": "39f7b", + "name": "shield01.mesh", + "userData": { + "gltfIndex": 3 + }, + "ver": "1.1.0", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {} + }, + "73b7f": { + "importer": "gltf-animation", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@73b7f", + "displayName": "", + "id": "73b7f", + "name": "Take 001.animation", + "ver": "1.0.14", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {}, + "userData": { + "events": [], + "gltfIndex": 0, + "sample": 30, + "span": { + "from": 0.03333333333333333, + "to": 1.3333333730697632 + }, + "wrapMode": 2, + "speed": 1 + } + }, + "f1394": { + "importer": "gltf-skeleton", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@f1394", + "displayName": "", + "id": "f1394", + "name": "UnnamedSkeleton-1.skeleton", + "ver": "1.0.1", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 1, + "jointsLength": 1 + } + }, + "75ee4": { + "importer": "gltf-skeleton", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@75ee4", + "displayName": "", + "id": "75ee4", + "name": "UnnamedSkeleton-2.skeleton", + "ver": "1.0.1", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 2, + "jointsLength": 1 + } + }, + "a72ab": { + "importer": "gltf-skeleton", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@a72ab", + "displayName": "", + "id": "a72ab", + "name": "UnnamedSkeleton-3.skeleton", + "ver": "1.0.1", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 3, + "jointsLength": 1 + } + }, + "e94f1": { + "importer": "gltf-embeded-image", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@e94f1", + "displayName": "", + "id": "e94f1", + "name": "shield.jpg.image", + "userData": { + "gltfIndex": 1 + }, + "ver": "1.0.3", + "imported": true, + "files": [ + ".jpg", + ".json" + ], + "subMetas": {} + }, + "f3caa": { + "importer": "texture", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@f3caa", + "displayName": "", + "id": "f3caa", + "name": "soldier.texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": false, + "imageUuidOrDatabaseUri": "db://assets/model/helloWorld/soldier.png" + }, + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "a2be1": { + "importer": "texture", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@a2be1", + "displayName": "", + "id": "a2be1", + "name": "shield.texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "e3553cad-2f15-4293-859a-8f43c780f289@e94f1" + }, + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "d252c": { + "importer": "gltf-scene", + "uuid": "e3553cad-2f15-4293-859a-8f43c780f289@d252c", + "displayName": "", + "id": "d252c", + "name": "soldier.prefab", + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "gltfIndex": 0 + } + } + }, + "userData": { + "imageMetas": [ + { + "name": "soldier", + "uri": "db://assets/model/helloWorld/soldier.png" + }, + { + "name": "shield.jpg", + "uri": "e3553cad-2f15-4293-859a-8f43c780f289@e94f1" + } + ], + "redirect": "e3553cad-2f15-4293-859a-8f43c780f289@d252c", + "assetFinder": { + "meshes": [ + "e3553cad-2f15-4293-859a-8f43c780f289@18751", + "e3553cad-2f15-4293-859a-8f43c780f289@da6f3", + "e3553cad-2f15-4293-859a-8f43c780f289@4b929", + "e3553cad-2f15-4293-859a-8f43c780f289@39f7b" + ], + "skeletons": [ + "e3553cad-2f15-4293-859a-8f43c780f289@30732", + "e3553cad-2f15-4293-859a-8f43c780f289@f1394", + "e3553cad-2f15-4293-859a-8f43c780f289@75ee4", + "e3553cad-2f15-4293-859a-8f43c780f289@a72ab" + ], + "textures": [ + "e3553cad-2f15-4293-859a-8f43c780f289@f3caa", + "e3553cad-2f15-4293-859a-8f43c780f289@a2be1" + ], + "materials": [ + "8a58ddec-f437-40b9-8ec0-1fc87de97fb5", + "8e047178-f61c-4322-a2f6-d1adb28b6ae2" + ], + "scenes": [ + "e3553cad-2f15-4293-859a-8f43c780f289@d252c" + ] + }, + "dumpMaterials": true, + "materialDumpDir": "db://assets/material", + "animationImportSettings": [ + { + "name": "Take 001", + "duration": 1.3333333730697632, + "fps": 30, + "splits": [ + { + "name": "Take 001", + "from": 0.03333333333333333, + "to": 1.3333333730697632, + "wrapMode": 2 + } + ] + } + ], + "legacyFbxImporter": true + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/soldier.png b/BezierPathsDemo/assets/model/helloWorld/soldier.png new file mode 100644 index 0000000..00ce191 Binary files /dev/null and b/BezierPathsDemo/assets/model/helloWorld/soldier.png differ diff --git a/BezierPathsDemo/assets/model/helloWorld/soldier.png.meta b/BezierPathsDemo/assets/model/helloWorld/soldier.png.meta new file mode 100644 index 0000000..5863794 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/soldier.png.meta @@ -0,0 +1,41 @@ +{ + "ver": "1.0.21", + "importer": "image", + "imported": true, + "uuid": "6f891a7b-5a08-48e6-9841-ddb364ac86b1", + "files": [ + ".png", + ".json" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "6f891a7b-5a08-48e6-9841-ddb364ac86b1@6c48a", + "displayName": "soldier", + "id": "6c48a", + "name": "texture", + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "6f891a7b-5a08-48e6-9841-ddb364ac86b1" + } + } + }, + "userData": { + "type": "texture", + "redirect": "6f891a7b-5a08-48e6-9841-ddb364ac86b1@6c48a", + "hasAlpha": true + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/soldier.prefab b/BezierPathsDemo/assets/model/helloWorld/soldier.prefab new file mode 100644 index 0000000..fbf5309 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/soldier.prefab @@ -0,0 +1,2132 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "soldier", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 76 + } + ], + "_prefab": { + "__id__": 77 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0.956, + "z": 1.402 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "RootNode", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 7 + }, + { + "__id__": 63 + }, + { + "__id__": 67 + }, + { + "__id__": 71 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 75 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "soldier", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + } + ], + "_prefab": { + "__id__": 6 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.9999999999999953, + "y": 0, + "z": 0, + "w": -9.735359185469814e-8 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 87.7489852905273, + "y": 87.7489852905273, + "z": 87.7489852905273 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -179.99998884410013, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 3 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "8a58ddec-f437-40b9-8ec0-1fc87de97fb5" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 5 + }, + "_mesh": { + "__uuid__": "e3553cad-2f15-4293-859a-8f43c780f289@18751" + }, + "_shadowCastingMode": 1, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "e3553cad-2f15-4293-859a-8f43c780f289@30732" + }, + "_skinningRoot": { + "__id__": 1 + }, + "_id": "", + "__prefab": { + "__id__": 78 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "824q3ldSpHoYl9xi6zWeg4" + }, + { + "__type__": "cc.Node", + "_name": "Bip001", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 8 + }, + { + "__id__": 10 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 62 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0.738336980342865, + "z": -3.74271143591121e-12 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.5000003576277411, + "y": -0.4999996423720031, + "z": -0.4999996423720031, + "w": 0.5000003576277411 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": -89.99991803772988, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 Footsteps", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 9 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -5.16987871290063e-28, + "y": 0, + "z": -0.734457075595856 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -6.921034890422563e-34, + "y": 6.921044533149828e-34, + "z": 0.7071063043492202, + "w": 0.7071072580235535 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": -1.1216009582263186e-31, + "z": 90 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "24sP2WouNOyq9Pp+iqRgiX" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 Pelvis", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [ + { + "__id__": 11 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 61 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.4999999925491744, + "y": -0.4999999925491744, + "z": -0.4999993070957696, + "w": 0.5000007078049007 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -89.9999197452773, + "y": -89.9999197452773, + "z": -0.0000017074910412130916 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 Spine", + "_objFlags": 0, + "_parent": { + "__id__": 10 + }, + "_children": [ + { + "__id__": 12 + }, + { + "__id__": 22 + }, + { + "__id__": 32 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 60 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0765029862523079, + "y": -0.000119566058856435, + "z": 1.06260117149759e-7 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.000002080475910607327, + "y": -6.936759723456761e-7, + "z": 0.0003981589901667568, + "w": 0.9999999207323014 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.00023837338537102568, + "y": -0.00007939450691674313, + "z": 0.045625660794268635 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 L Thigh", + "_objFlags": 0, + "_parent": { + "__id__": 11 + }, + "_children": [ + { + "__id__": 13 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 21 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0765029117465019, + "y": 0.000180334449396469, + "z": 0.0665242150425911 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.015412850192755845, + "y": 0.9969698713847834, + "z": 0.002043751751963479, + "w": -0.07621904406852757 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.098918034361683, + "y": -171.25793904676914, + "z": -1.7789668366715101 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 L Calf", + "_objFlags": 0, + "_parent": { + "__id__": 12 + }, + "_children": [ + { + "__id__": 14 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 20 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.368020862340927, + "y": -2.38418573772492e-9, + "z": 1.90734859017994e-8 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -3.77253945323161e-21, + "y": -4.658679694134547e-18, + "z": -0.0008097870399876981, + "w": 0.999999672122421 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -8.646032309262241e-19, + "y": -5.338462443351186e-16, + "z": -0.09279476953314847 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 L Foot", + "_objFlags": 0, + "_parent": { + "__id__": 13 + }, + "_children": [ + { + "__id__": 15 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 19 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.29802131652832, + "y": -2.38418573772492e-9, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.0020737143220202685, + "y": -0.07621822672483194, + "z": 0.016616994877612996, + "w": 0.9969505289155877 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.3822464844159605, + "y": -8.749946017824339, + "z": 1.8805865416881686 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 L Toe0", + "_objFlags": 0, + "_parent": { + "__id__": 14 + }, + "_children": [ + { + "__id__": 16 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0765028968453407, + "y": 0.0984558463096619, + "z": 1.90734859017994e-8 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -1.5454308319985125e-8, + "y": -1.5454308319985125e-8, + "z": 0.7071067811865472, + "w": 0.7071067811865472 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": -0.0000025044778683729224, + "z": 90 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 L Toe0Nub", + "_objFlags": 0, + "_parent": { + "__id__": 15 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 17 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.00997863244265318, + "y": -2.98023217215615e-10, + "z": 3.55271359939116e-17 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 9.55341250274695e-16, + "y": -2.4399608215727e-23, + "z": 1, + "w": 1.83758927467374e-15 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": -1, + "y": -1, + "z": -1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 180, + "y": -179.9999999999999, + "z": 2.1057221983462293e-13 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b7ARhVJWFJP4yiboWbM1Xs" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b7IX4wc+BII5SOxaDKm4bu" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "71/rP0sWxM1bfHuNwls2lv" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "71+6ovA8dDUowhlyNGBIbM" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4aENadJ59Io4SS6BMn9Aw4" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 R Thigh", + "_objFlags": 0, + "_parent": { + "__id__": 11 + }, + "_children": [ + { + "__id__": 23 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 31 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.0765029117465019, + "y": 0.000180703471414745, + "z": -0.0665242150425911 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.0154126518850906, + "y": 0.9969698755273314, + "z": -0.0020409899233692465, + "w": 0.07621910398987286 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.09860398393799301, + "y": 171.25792731952373, + "z": -1.7789200579558455 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 R Calf", + "_objFlags": 0, + "_parent": { + "__id__": 22 + }, + "_children": [ + { + "__id__": 24 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 30 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.36802089214325, + "y": 0, + "z": -3.55271359939116e-17 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 2.226103102352033e-19, + "y": 7.125063520427799e-18, + "z": -0.0008097898921612967, + "w": 0.9999996721201113 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 2.6170459347986135e-17, + "y": 8.164935972515574e-16, + "z": -0.09279509636827488 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 R Foot", + "_objFlags": 0, + "_parent": { + "__id__": 23 + }, + "_children": [ + { + "__id__": 25 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 29 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.29802131652832, + "y": 0, + "z": -3.81469718035987e-8 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.002073778117879438, + "y": 0.07621821928385913, + "z": 0.016617013506159614, + "w": 0.9969505290412618 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.38225392566993516, + "y": 8.749945293799216, + "z": 1.8805881155171484 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 R Toe0", + "_objFlags": 0, + "_parent": { + "__id__": 24 + }, + "_children": [ + { + "__id__": 26 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 28 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0765028968453407, + "y": 0.0984558537602425, + "z": 1.90734859017994e-8 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -1.5454308319985125e-8, + "y": -1.5454308319985125e-8, + "z": 0.7071067811865472, + "w": 0.7071067811865472 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": -0.0000025044778683729224, + "z": 90 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 R Toe0Nub", + "_objFlags": 0, + "_parent": { + "__id__": 25 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 27 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.00997863244265318, + "y": -2.98023217215615e-10, + "z": 7.10542719878232e-17 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -2.35364776340013e-23, + "y": 9.55341356153813e-16, + "z": -1.77635726291672e-15, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -2.6970814715996306e-21, + "y": 1.0947405540383584e-13, + "z": -2.0355554814507762e-13 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "77BI3YwgNJqKMpf0rJhZ9s" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "26R5ll6SNGP5ArlFhrFOzH" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cdWn1utjJOUaNdTLXxb/CR" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8a4oYAyD9MkZi9aL5G15gW" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "baRkxlpMJMup2UzoK3llZt" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 Spine1", + "_objFlags": 0, + "_parent": { + "__id__": 11 + }, + "_children": [ + { + "__id__": 33 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 59 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.150201484560966, + "y": -0.000119601711048745, + "z": -3.31727090241429e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -3.01176726787145e-14, + "y": -1.39586728368323e-23, + "z": -1.0842021724855e-19, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -3.451231066493619e-12, + "y": -1.599546082682973e-21, + "z": -1.2424041724466812e-17 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 Neck", + "_objFlags": 0, + "_parent": { + "__id__": 32 + }, + "_children": [ + { + "__id__": 34 + }, + { + "__id__": 44 + }, + { + "__id__": 54 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 58 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.15020164847374, + "y": -0.0000435724105045665, + "z": -1.20852522433879e-10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -3.01176726787145e-14, + "y": -9.0989867380833e-23, + "z": -2.74040313253867e-36, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -3.451231066493619e-12, + "y": -1.0426670758753618e-20, + "z": -1.0276926252606202e-41 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 L Clavicle", + "_objFlags": 0, + "_parent": { + "__id__": 33 + }, + "_children": [ + { + "__id__": 35 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 43 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0.0000435078145528678, + "z": 0.0232834853231907 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.6087613827170933, + "y": -0.0002434881366867595, + "z": 0.7933532758994495, + "w": 0.0003150325566206266 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 179.9558877717535, + "y": -104.99999523006848, + "z": 0.01165464185401893 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 L UpperArm", + "_objFlags": 0, + "_parent": { + "__id__": 34 + }, + "_children": [ + { + "__id__": 36 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 42 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.272405058145523, + "y": 4.54747340722069e-15, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.004462069723208538, + "y": 0.4381802273458216, + "z": -0.0019434620153348766, + "w": 0.8988739629404916 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0.5572016837940187, + "y": 51.97620557313351, + "z": 0.02386521946895269 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 L Forearm", + "_objFlags": 0, + "_parent": { + "__id__": 35 + }, + "_children": [ + { + "__id__": 37 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 41 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.263291478157043, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -2.7197715504795845e-20, + "y": -3.0893820368327117e-17, + "z": -0.0008803606294924629, + "w": 0.9999996124825059 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -6.233264281423144e-18, + "y": -3.5401778996822195e-15, + "z": -0.10088191006996569 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 L Hand", + "_objFlags": 0, + "_parent": { + "__id__": 36 + }, + "_children": [ + { + "__id__": 38 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 40 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.199572831392288, + "y": -5.9604643443123e-10, + "z": 1.42108543975646e-16 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7068252124052271, + "y": 1.0458620867947887e-8, + "z": 1.0614867442646885e-8, + "w": 0.7073882378922519 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -89.95437890588059, + "y": 0.0000017075473071153707, + "z": 1.3340228971442967e-8 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "sword01", + "_objFlags": 0, + "_parent": { + "__id__": 37 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 39 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0919111594557762, + "y": 0.0340489186346531, + "z": -0.14926840364933 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.6409670678902519, + "y": -0.3070256396863465, + "z": -0.5278458569202463, + "w": -0.4650540030872693 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -112.37885078724646, + "y": 75.2002383569922, + "z": 5.587571211625747 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "98Mxm4C+NAIp1/ms1CXDWg" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7cWlWOkFtKX6ILXuZfhYqO" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "503RTkgyFOwZRj7QxbXFGT" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "66qUHYCHZNMoAvIMM8jTZn" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c67UVUfoFCNLAcx8dX7SW1" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 R Clavicle", + "_objFlags": 0, + "_parent": { + "__id__": 33 + }, + "_children": [ + { + "__id__": 45 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 53 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0.0000436370064562652, + "z": -0.0232834853231907 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.6087613827171046, + "y": 0.00024128768333211222, + "z": 0.793353275899464, + "w": 0.0003167210153793466 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -179.95597003338875, + "y": 104.99999512047448, + "z": 0.011961643569376679 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 R UpperArm", + "_objFlags": 0, + "_parent": { + "__id__": 44 + }, + "_children": [ + { + "__id__": 46 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 52 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.272405058145523, + "y": 6.82120985672115e-14, + "z": -1.42108543975646e-16 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.030114175418424236, + "y": -0.43755956999841955, + "z": 0.05059855375302801, + "w": 0.897259463867486 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -0.5631334715243025, + "y": -51.96038786477057, + "z": 6.727854372934277 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 R Forearm", + "_objFlags": 0, + "_parent": { + "__id__": 45 + }, + "_children": [ + { + "__id__": 47 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 51 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.263291418552399, + "y": 0, + "z": -7.62939436071974e-8 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -8.302567498559346e-18, + "y": -5.588016764292516e-17, + "z": -0.13176086831298384, + "w": 0.9912815309393233 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -1.8510999406615195e-15, + "y": -6.705762043264369e-15, + "z": -15.14271605062808 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 R Hand", + "_objFlags": 0, + "_parent": { + "__id__": 46 + }, + "_children": [ + { + "__id__": 48 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 50 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.199572905898094, + "y": 8.88178399847791e-18, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.7068252124052272, + "y": -1.9327187937127104e-17, + "z": 1.9311804031753923e-17, + "w": 0.707388237892252 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 89.95437890588059, + "y": -3.1308585900006548e-15, + "z": -7.956237644289779e-23 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "shield01", + "_objFlags": 0, + "_parent": { + "__id__": 47 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 49 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.124533005058765, + "y": -0.00692871073260903, + "z": 0.0576667860150337 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.5417342069004817, + "y": -0.1379658103002438, + "z": 0.11668003843623054, + "w": 0.8208990515846776 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 67.2841187503732, + "y": -20.685866498064005, + "z": 2.411917394086867 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4f4kzbhYBIMIVjz0nZTcvw" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "19JEI2tAtAo5mcAZ7XSRWH" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5eAc4VAlRExZ6nABKN5Ihq" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a72KzY4dJDrb/Ifgjl7CSF" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9fRB6KFOpAz6pb5W8NAqZg" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 Head", + "_objFlags": 0, + "_parent": { + "__id__": 33 + }, + "_children": [ + { + "__id__": 55 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 57 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.0547203049063683, + "y": -1.38777874976217e-19, + "z": 2.71050537062924e-22 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -7.265599787883251e-14, + "y": 1.1042733174299354e-9, + "z": -0.0003988305609355657, + "w": 0.9999999204670887 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 4.214242912539149e-11, + "y": 1.2654042790710837e-7, + "z": -0.04570261697650697 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bip001 HeadNub", + "_objFlags": 0, + "_parent": { + "__id__": 54 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 56 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.475234657526016, + "y": -1.45519149031062e-13, + "z": 2.99510855318999e-20 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -4.09752188234268e-20, + "y": 3.5879314498657e-21, + "z": 1.47015827086174e-40, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -4.6954142064147255e-18, + "y": 4.1114665851911787e-19, + "z": -5.14740158672216e-44 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ebvw49UjBMKoIvQOBhsyUF" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4ckJuubwNG3KpsMgkuxo12" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "de+U9IqPVD+qUUY0y7H/86" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "78+5xpqyNL2aHMIBr4YHvg" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "deedfocu1E0amfQjzHnnD8" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9brOPlFAxPnLhkrpP6KbLQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "15XJ/3651AFKLyr6XRj3d7" + }, + { + "__type__": "cc.Node", + "_name": "shield", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 64 + } + ], + "_prefab": { + "__id__": 66 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.9999999999999878, + "y": 0, + "z": 0, + "w": -1.569582366300871e-7 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 87.7489852905273, + "y": 87.7489852905273, + "z": 87.7489852905273 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -179.99998201391097, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 63 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "8a58ddec-f437-40b9-8ec0-1fc87de97fb5" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 65 + }, + "_mesh": { + "__uuid__": "e3553cad-2f15-4293-859a-8f43c780f289@da6f3" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "e3553cad-2f15-4293-859a-8f43c780f289@f1394" + }, + "_skinningRoot": { + "__id__": 1 + }, + "_id": "", + "__prefab": { + "__id__": 79 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2fgzyRcBxNmZKzBdJpnT0Q" + }, + { + "__type__": "cc.Node", + "_name": "sword", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 68 + } + ], + "_prefab": { + "__id__": 70 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.9999999999999878, + "y": 0, + "z": 0, + "w": -1.569582366300871e-7 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 87.7489852905273, + "y": 87.7489852905273, + "z": 87.7489852905273 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -179.99998201391097, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 67 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "8a58ddec-f437-40b9-8ec0-1fc87de97fb5" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 69 + }, + "_mesh": { + "__uuid__": "e3553cad-2f15-4293-859a-8f43c780f289@4b929" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "e3553cad-2f15-4293-859a-8f43c780f289@75ee4" + }, + "_skinningRoot": { + "__id__": 1 + }, + "_id": "", + "__prefab": { + "__id__": 80 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d0xEUY/HZBVZJ0EMEz3doQ" + }, + { + "__type__": "cc.Node", + "_name": "shield01", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 72 + } + ], + "_prefab": { + "__id__": 74 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.00499999988824129, + "y": 0, + "z": 0.00499999988824129 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0.9999999999999878, + "y": 0, + "z": 0, + "w": -1.569582366300871e-7 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 87.7489852905273, + "y": 87.7489852905273, + "z": 87.7489852905273 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -179.99998201391097, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.SkinnedMeshRenderer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 71 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "8e047178-f61c-4322-a2f6-d1adb28b6ae2" + } + ], + "_visFlags": 0, + "lightmapSettings": { + "__id__": 73 + }, + "_mesh": { + "__uuid__": "e3553cad-2f15-4293-859a-8f43c780f289@39f7b" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_enableMorph": true, + "_skeleton": { + "__uuid__": "e3553cad-2f15-4293-859a-8f43c780f289@a72ab" + }, + "_skinningRoot": { + "__id__": 1 + }, + "_id": "", + "__prefab": { + "__id__": 81 + } + }, + { + "__type__": "cc.ModelLightmapSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "464KPea2NOibwROP5moUvA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a5uiqiY3JH2IVaNOBBe7fQ" + }, + { + "__type__": "cc.SkeletalAnimation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "e3553cad-2f15-4293-859a-8f43c780f289@73b7f" + } + ], + "_defaultClip": { + "__uuid__": "e3553cad-2f15-4293-859a-8f43c780f289@73b7f" + }, + "_useBakedAnimation": true, + "_sockets": [], + "_id": "", + "__prefab": { + "__id__": 82 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "6dMvPN2t1B66O9Zc3HG8dr" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c03WV1aUFF3JS1Hk5O1YEO" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5auuAdA+hPK4gDJgo5P8pp" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ac7EcndpZAX7PoGP3lLRVN" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "42qo1iuetEs5z+QMA5Syeb" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c0fPRx3VFAj6Wp6rajxsJP" + } +] diff --git a/BezierPathsDemo/assets/model/helloWorld/soldier.prefab.meta b/BezierPathsDemo/assets/model/helloWorld/soldier.prefab.meta new file mode 100644 index 0000000..4242fd6 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/soldier.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.27", + "importer": "prefab", + "imported": true, + "uuid": "cfc53c4e-7956-482b-aebc-3fb1dcd36eef", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "soldier" + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/stone.jpg b/BezierPathsDemo/assets/model/helloWorld/stone.jpg new file mode 100644 index 0000000..61dd429 Binary files /dev/null and b/BezierPathsDemo/assets/model/helloWorld/stone.jpg differ diff --git a/BezierPathsDemo/assets/model/helloWorld/stone.jpg.meta b/BezierPathsDemo/assets/model/helloWorld/stone.jpg.meta new file mode 100644 index 0000000..7061e16 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/stone.jpg.meta @@ -0,0 +1,41 @@ +{ + "ver": "1.0.21", + "importer": "image", + "imported": true, + "uuid": "0718d996-39bf-4ab4-bb63-496666fef467", + "files": [ + ".jpg", + ".json" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "0718d996-39bf-4ab4-bb63-496666fef467@6c48a", + "displayName": "stone", + "id": "6c48a", + "name": "texture", + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "0718d996-39bf-4ab4-bb63-496666fef467" + } + } + }, + "userData": { + "type": "texture", + "redirect": "0718d996-39bf-4ab4-bb63-496666fef467@6c48a", + "hasAlpha": false + } +} diff --git a/BezierPathsDemo/assets/model/helloWorld/tree.png b/BezierPathsDemo/assets/model/helloWorld/tree.png new file mode 100644 index 0000000..3692d92 Binary files /dev/null and b/BezierPathsDemo/assets/model/helloWorld/tree.png differ diff --git a/BezierPathsDemo/assets/model/helloWorld/tree.png.meta b/BezierPathsDemo/assets/model/helloWorld/tree.png.meta new file mode 100644 index 0000000..83cb155 --- /dev/null +++ b/BezierPathsDemo/assets/model/helloWorld/tree.png.meta @@ -0,0 +1,41 @@ +{ + "ver": "1.0.21", + "importer": "image", + "imported": true, + "uuid": "c5083e75-ad2e-4ea9-8b33-dee748995b00", + "files": [ + ".png", + ".json" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "c5083e75-ad2e-4ea9-8b33-dee748995b00@6c48a", + "displayName": "tree", + "id": "6c48a", + "name": "texture", + "ver": "1.0.20", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 1, + "isUuid": true, + "imageUuidOrDatabaseUri": "c5083e75-ad2e-4ea9-8b33-dee748995b00" + } + } + }, + "userData": { + "type": "texture", + "redirect": "c5083e75-ad2e-4ea9-8b33-dee748995b00@6c48a", + "hasAlpha": false + } +} diff --git a/BezierPathsDemo/assets/scene.meta b/BezierPathsDemo/assets/scene.meta new file mode 100644 index 0000000..822e98f --- /dev/null +++ b/BezierPathsDemo/assets/scene.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "b0a4abb1-db32-49c3-9e09-a45b922a2094", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/BezierPathsDemo/assets/scene/Bezier.scene b/BezierPathsDemo/assets/scene/Bezier.scene new file mode 100644 index 0000000..3c66bc3 --- /dev/null +++ b/BezierPathsDemo/assets/scene/Bezier.scene @@ -0,0 +1,692 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "", + "_objFlags": 0, + "_native": "", + "scene": { + "__id__": 1 + }, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Scene", + "_name": "", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 5 + }, + { + "__id__": 7 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "autoReleaseAssets": false, + "_globals": { + "__id__": 24 + }, + "_id": "f2d7ea36-b11b-44a5-8f58-31b75049daf6" + }, + { + "__type__": "cc.Node", + "_name": "Main Light", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.24999999999999997, + "y": -0.24999999999999997, + "z": -0.06698729810778066, + "w": 0.9330127018922194 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -30, + "y": -30, + "z": 0 + }, + "_id": "c0y6F5f+pAvI805TdmxIjx" + }, + { + "__type__": "cc.DirectionalLight", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_useColorTemperature": false, + "_colorTemperature": 6550, + "_staticSettings": { + "__id__": 4 + }, + "_illuminance": 65000, + "_id": "597uMYCbhEtJQc0ffJlcgA" + }, + { + "__type__": "cc.StaticLightSettings", + "_baked": false, + "_editorOnly": false, + "_bakeable": false, + "_castShadow": false + }, + { + "__type__": "cc.Node", + "_name": "Main Camera", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -10, + "y": 10, + "z": 10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.27781593346944056, + "y": -0.36497167621709875, + "z": -0.11507512748638377, + "w": 0.8811195706053617 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -35, + "y": -45, + "z": 0 + }, + "_id": "c9DMICJLFO5IeO07EPon7U" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_projection": 1, + "_priority": 0, + "_fov": 45, + "_fovAxis": 0, + "_orthoHeight": 10, + "_near": 1, + "_far": 1000, + "_color": { + "__type__": "cc.Color", + "r": 51, + "g": 51, + "b": 51, + "a": 255 + }, + "_depth": 1, + "_stencil": 0, + "_clearFlags": 7, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_aperture": 19, + "_shutter": 7, + "_iso": 0, + "_screenScale": 1, + "_visibility": 1822425087, + "_targetTexture": null, + "_id": "7dWQTpwS5LrIHnc1zAPUtf" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 8 + }, + { + "__id__": 10 + } + ], + "_active": true, + "_components": [ + { + "__id__": 17 + }, + { + "__id__": 19 + }, + { + "__id__": 21 + }, + { + "__id__": 23 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 360, + "y": 640, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "c6oLY91+xJnayalEdSv2oW" + }, + { + "__type__": "cc.Node", + "_name": "Camera", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 1000 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "7dkfYwF9NMZo0OB/FiDGx+" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": null, + "_projection": 0, + "_priority": 1073741824, + "_fov": 45, + "_fovAxis": 0, + "_orthoHeight": 640, + "_near": 1, + "_far": 2000, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_depth": 1, + "_stencil": 0, + "_clearFlags": 6, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_aperture": 19, + "_shutter": 7, + "_iso": 0, + "_screenScale": 1, + "_visibility": 41943040, + "_targetTexture": null, + "_id": "76KkRpK+dMFIWWD4s16j/2" + }, + { + "__type__": "cc.Node", + "_name": "Graphics", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 11 + }, + { + "__id__": 13 + }, + { + "__id__": 15 + }, + { + "__id__": 16 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "f0DlcIbe9OwIYn9F4zxVs9" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_priority": 0, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "0bJ5hyVnRKlbM8Ec1vwkOH" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c3dMMH5KBHA7aaNq/gxfrr" + }, + { + "__type__": "cc.Graphics", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_lineWidth": 2.5, + "_strokeColor": { + "__type__": "cc.Color", + "r": 226, + "g": 42, + "b": 42, + "a": 255 + }, + "_lineJoin": 2, + "_lineCap": 0, + "_fillColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_miterLimit": 10, + "_id": "97mg/qdIdF2YVtTodqhGd6" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b72j61fNtG9IH3vOo7HXe7" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "ccHSEU7wlMxZIbUskZCbua" + }, + { + "__type__": "8d86dNsntVPNLlI0KI0hg+q", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": null, + "_id": "7dIu5De95IzZ88X1UvIMHF" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_priority": 0, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "b6PfJ3r4JCYYekID2bV7RT" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0dngp/9gNO34wUQjZfN/CX" + }, + { + "__type__": "cc.Canvas", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_cameraComponent": { + "__id__": 9 + }, + "_alignCanvasWithScreen": true, + "_id": "bd5rq1mYZMjKhBy0lJFHTu" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3f2oTdCepERZdpmIfLsrhd" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "1bhS2RJr1Er4Q0DX0CY9HS" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e8a+bU/8dPDbbJguUzLdoF" + }, + { + "__type__": "35bc63DayhOaYheI69j11Zr", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": null, + "graphicsHelper": { + "__id__": 16 + }, + "_id": "1d2smm9X9CG6B/mpPWNFbP" + }, + { + "__type__": "cc.SceneGlobals", + "ambient": { + "__id__": 25 + }, + "shadows": { + "__id__": 26 + }, + "_skybox": { + "__id__": 27 + }, + "fog": { + "__id__": 28 + } + }, + { + "__type__": "cc.AmbientInfo", + "_skyColor": { + "__type__": "cc.Color", + "r": 51, + "g": 128, + "b": 204, + "a": 1 + }, + "_skyIllum": 20000, + "_groundAlbedo": { + "__type__": "cc.Color", + "r": 51, + "g": 51, + "b": 51, + "a": 255 + } + }, + { + "__type__": "cc.ShadowsInfo", + "_type": 0, + "_enabled": false, + "_normal": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "z": 0 + }, + "_distance": 0, + "_shadowColor": { + "__type__": "cc.Color", + "r": 76, + "g": 76, + "b": 76, + "a": 255 + }, + "_autoAdapt": true, + "_pcf": 0, + "_bias": 0.00001, + "_near": 1, + "_far": 30, + "_aspect": 1, + "_orthoSize": 5, + "_maxReceived": 4, + "_size": { + "__type__": "cc.Vec2", + "x": 512, + "y": 512 + } + }, + { + "__type__": "cc.SkyboxInfo", + "_envmap": null, + "_isRGBE": false, + "_enabled": false, + "_useIBL": false + }, + { + "__type__": "cc.FogInfo", + "_type": 0, + "_fogColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "_enabled": false, + "_fogDensity": 0.3, + "_fogStart": 0.5, + "_fogEnd": 300, + "_fogAtten": 5, + "_fogTop": 1.5, + "_fogRange": 1.2 + } +] \ No newline at end of file diff --git a/BezierPathsDemo/assets/scene/Bezier.scene.meta b/BezierPathsDemo/assets/scene/Bezier.scene.meta new file mode 100644 index 0000000..1158724 --- /dev/null +++ b/BezierPathsDemo/assets/scene/Bezier.scene.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.1.27", + "importer": "scene", + "imported": true, + "uuid": "f2d7ea36-b11b-44a5-8f58-31b75049daf6", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/scripts.meta b/BezierPathsDemo/assets/scripts.meta new file mode 100644 index 0000000..6b348f5 --- /dev/null +++ b/BezierPathsDemo/assets/scripts.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "5cbca12f-0036-4e32-952b-6b3da0042b50", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/BezierPathsDemo/assets/scripts/BezierCurvesKit.ts b/BezierPathsDemo/assets/scripts/BezierCurvesKit.ts new file mode 100644 index 0000000..f512972 --- /dev/null +++ b/BezierPathsDemo/assets/scripts/BezierCurvesKit.ts @@ -0,0 +1,205 @@ +import { v2, Vec2, Vec3 } from "cc"; + +export class BezierCurvesKit { + + private static _instance: BezierCurvesKit; + public static get Instacne() { + if (this._instance == null) { + this._instance = new BezierCurvesKit(); + } + return this._instance; + } + /** + * 计算三阶曲线 三维坐标 + * @param t + * @param p0 + * @param p1 + * @param p2 + * @param p3 + */ + private calculateBezierPoint3(t: number, p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3) { + let u = 1 - t; + let tt = t * t; + let uu = u * u; + let uuu = uu * u; + let ttt = tt * t; + let point = new Vec3(); + let x = uuu * p0.x + 3 * uu * t * p1.x + 3 * u * tt * p2.x + ttt * p3.x; + let y = uuu * p0.y + 3 * uu * t * p1.y + 3 * u * tt * p2.y + ttt * p3.y; + let z = uuu * p0.z + 3 * uu * t * p1.z + 3 * u * tt * p2.z + ttt * p3.z; + Vec3.set(point, x, y, z); + return point; + } + + /** + * 计算三阶曲线 二维坐标 + * @param t + * @param p0 + * @param p1 + * @param p2 + * @param p3 + */ + private calculateBezierPoint2(t: number, p0: Vec2, p1: Vec2, p2: Vec2, p3: Vec2) { + let u = 1 - t; + let tt = t * t; + let uu = u * u; + let uuu = uu * u; + let ttt = tt * t; + let point = new Vec2(); + let x = uuu * p0.x + 3 * uu * t * p1.x + 3 * u * tt * p2.x + ttt * p3.x; + let y = uuu * p0.y + 3 * uu * t * p1.y + 3 * u * tt * p2.y + ttt * p3.y; + Vec2.set(point, x, y); + return point; + } + + public calculateBezierPoint(t: number, p0: Vec2 | Vec3, p1: Vec2 | Vec3, p2: Vec2 | Vec3, p3: Vec2 | Vec3) { + if (p0 instanceof Vec2) { + return this.calculateBezierPoint2(t, p0, p1, p2, p3); + } else { + return this.calculateBezierPoint3(t, p0, p1, p2, p3); + } + } + + // + private speedX(points: Vec3[] | Vec2[], t: number) { + let a = -3 * points[0].x * Math.pow(1 - t, 2) + 3 * points[1].x * Math.pow(1 - t, 2) - 6 * points[1].x * (1 - t) * t + 6 * points[2].x * (1 - t) * t - 3 * points[2].x * Math.pow(t, 2) + 3 * points[3].x * Math.pow(t, 2); + return a; + } + + private speedY(points: Vec3[] | Vec2[], t: number) { + let a = -3 * points[0].y * Math.pow(1 - t, 2) + 3 * points[1].y * Math.pow(1 - t, 2) - 6 * points[1].y * (1 - t) * t + 6 * points[2].y * (1 - t) * t - 3 * points[2].y * Math.pow(t, 2) + 3 * points[3].y * Math.pow(t, 2); + return a; + } + + private speedZ(points: Vec3[], t: number) { + let a = -3 * points[0].z * Math.pow(1 - t, 2) + 3 * points[1].z * Math.pow(1 - t, 2) - 6 * points[1].z * (1 - t) * t + 6 * points[2].z * (1 - t) * t - 3 * points[2].z * Math.pow(t, 2) + 3 * points[3].z * Math.pow(t, 2); + return a; + } + + private speedMerge2(points: Vec2[], t: number) { + let v_x = this.speedX(points, t); + let v_y = this.speedY(points, t); + return Math.sqrt(Math.pow(v_x, 2) + Math.pow(v_y, 2)); + } + + private speedMerge3(points: Vec3[], t: number) { + let v_x = this.speedX(points, t); + let v_y = this.speedY(points, t); + let v_z = this.speedZ(points, t); + + return Math.sqrt(Math.pow(v_x, 2) + Math.pow(v_y, 2) + Math.pow(v_z, 2)); + } + + private speedMerge(points: Vec2[] | Vec3[], t: number) { + if (points[0] instanceof Vec2) { + return this.speedMerge2(points, t); + } else { + return this.speedMerge3(points, t); + } + } + + /** + * 求 0~t 段的三阶贝塞尔曲线长度 + * t为realTime + * @param points + */ + private pathLength(points: Vec2[] | Vec3[], t: number) { + let total_step = 100000; + let step_counts = total_step; + let half_counts; + let i = 0; + let sum_1 = 0, sum_2 = 0, t_step; + + if (step_counts == 0) { + return 0; + } + if (step_counts % 2 == 0) { + step_counts++; + } + + half_counts = step_counts / 2; + t_step = t / step_counts; + + while (i < half_counts) { + sum_1 += this.speedMerge(points, (2 * i + 1) * t_step); + i++; + } + i = 1; + while (i < half_counts) { + sum_2 += this.speedMerge(points, (2 * i * t_step)); + i++; + } + + return (this.speedMerge(points, 0) + this.speedMerge(points, 1) + 2 * sum_2 + 4 * sum_1) * t_step / 3; + } + + /** + * 通过对应的弧长来取得rt + * @param points + * @param length + */ + private realTimeByLength(points: Vec2[] | Vec3[], length: number) { + let real_time = 0; + let rt_length = 0; + let delta_length = 0; + let delta_time = 0; + let low = 0, high = 1; + do { + if (delta_length > 0) { + real_time -= (real_time - low) / 2; + delta_time = real_time - low; + } else { + real_time += (high - real_time) / 2; + delta_time = high - real_time; + } + rt_length = this.pathLength(points, real_time); + delta_length = rt_length - length; + if (delta_length > 0) { + high = real_time; + } else { + low = real_time; + } + + // 0.01 的误差已经很小了,可视为此时的 rt 就是真实的 rt + // 或者 rt 的更新量足够小时也应跳出,防止梯度消失造成死循环 + } while (Math.abs(delta_length) > 0.01 && delta_time > 0.000000001) + + return real_time; + } + + /** + * 取得匀速点数组 + * @param points + * @param step + */ + public getUniformPoints(points: Vec2[] | Vec3[],step:number=100) { + let lengthTotal = this.pathLength(points, 1); + let deltaStep = lengthTotal / step; + let drawingPoints: Vec2[] | Vec3[] = []; + + for (let i = 0; i < points.length - 3; i += 3) { + let p0: Vec2 | Vec3 = points[i]; + let p1: Vec2 | Vec3 = points[i + 1]; + let p2: Vec2 | Vec3 = points[i + 2]; + let p3: Vec2 | Vec3 = points[i + 3]; + + if (i == 0) { + drawingPoints.push(p0); + } + + for (let j = 1; j <= step; j++) { + let length = deltaStep * j; + let t = this.realTimeByLength([p0, p1, p2, p3], length); + drawingPoints.push(this.calculateBezierPoint(t, p0, p1, p2, p3)); + } + } + + return drawingPoints; + } +} + +/** + * 参考文章 + * https://blog.csdn.net/iSunwish/article/details/78935257 + * https://blog.csdn.net/iSunwish/article/details/112127363 + */ \ No newline at end of file diff --git a/BezierPathsDemo/assets/scripts/BezierCurvesKit.ts.meta b/BezierPathsDemo/assets/scripts/BezierCurvesKit.ts.meta new file mode 100644 index 0000000..e6d0d4b --- /dev/null +++ b/BezierPathsDemo/assets/scripts/BezierCurvesKit.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.21", + "importer": "typescript", + "imported": true, + "uuid": "25e55cbe-4b98-4aa0-85f3-1f379798a490", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/scripts/GraphicsHelper.ts b/BezierPathsDemo/assets/scripts/GraphicsHelper.ts new file mode 100644 index 0000000..e7326db --- /dev/null +++ b/BezierPathsDemo/assets/scripts/GraphicsHelper.ts @@ -0,0 +1,52 @@ + +import { _decorator, Component, Node, Vec2, Graphics, v2 } from 'cc'; +const { ccclass, property } = _decorator; + +@ccclass('GraphicsHelper') +export class GraphicsHelper extends Component { + + private graphics: Graphics = null!; + + onLoad() { + this.graphics = this.node.getComponent(Graphics); + console.log('graphics=', this.graphics); + } + start() { + // [3] + // this.drawPoints([v2(10, 10), v2(-10, 10), v2(10, -10), v2(-10, -10)], 5); + // this.drawFill(); + } + + drawPoints(points: Vec2[], radius: number) { + for (let i = 0; i < points.length; i++) { + let point = points[i]; + this.graphics.circle(point.x, point.y, radius); + } + } + + drawPointsLine(points: Vec2[], isClose: boolean = false) { + let length = points.length; + if (length < 2) { + console.warn('point num less than one') + return; + } + this.graphics.moveTo(points[0].x, points[0].y); + for (let i = 1; i < length; i++) { + let point = points[i]; + this.graphics.lineTo(point.x, point.y); + } + if (isClose) { + this.graphics.close(); + } + + } + + drawFill() { + this.graphics.fill(); + } + + drawStroke() { + this.graphics.stroke(); + } +} + diff --git a/BezierPathsDemo/assets/scripts/GraphicsHelper.ts.meta b/BezierPathsDemo/assets/scripts/GraphicsHelper.ts.meta new file mode 100644 index 0000000..815fa16 --- /dev/null +++ b/BezierPathsDemo/assets/scripts/GraphicsHelper.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.21", + "importer": "typescript", + "imported": true, + "uuid": "8d86d36c-9ed5-4f34-b948-d0a234860faa", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/scripts/Main.ts b/BezierPathsDemo/assets/scripts/Main.ts new file mode 100644 index 0000000..e550e0d --- /dev/null +++ b/BezierPathsDemo/assets/scripts/Main.ts @@ -0,0 +1,41 @@ + +import { _decorator, Component, Node, v2, Vec2 } from 'cc'; +import { BezierCurvesKit } from './BezierCurvesKit'; +import { GraphicsHelper } from './GraphicsHelper'; +const { ccclass, property } = _decorator; + +@ccclass('Main') +export class Main extends Component { + @property(GraphicsHelper) + graphicsHelper: GraphicsHelper = null! + + start() { + // [3] + let points = [v2(-300, -100), v2(-150, 700), v2(50, 600), v2(300, -200)]; + this.graphicsHelper.drawPoints(points, 10); + this.graphicsHelper.drawFill(); + + // let paths: Vec2[] = BezierCurves.getDrawingPoints2(points, 100); + let paths:Vec2[]=BezierCurvesKit.Instacne.getUniformPoints(points,20); + + // this.graphicsHelper.drawPointsLine(paths); + // this.graphicsHelper.drawStroke(); + this.graphicsHelper.drawPoints(paths, 3); + this.graphicsHelper.drawFill(); + } + + // update (deltaTime: number) { + // // [4] + // } +} + +/** + * [1] Class member could be defined like this. + * [2] Use `property` decorator if your want the member to be serializable. + * [3] Your initialization goes here. + * [4] Your update function goes here. + * + * Learn more about scripting: https://docs.cocos.com/creator/3.0/manual/en/scripting/ + * Learn more about CCClass: https://docs.cocos.com/creator/3.0/manual/en/scripting/ccclass.html + * Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.0/manual/en/scripting/life-cycle-callbacks.html + */ diff --git a/BezierPathsDemo/assets/scripts/Main.ts.meta b/BezierPathsDemo/assets/scripts/Main.ts.meta new file mode 100644 index 0000000..dc197f4 --- /dev/null +++ b/BezierPathsDemo/assets/scripts/Main.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.21", + "importer": "typescript", + "imported": true, + "uuid": "35bc6dc3-6b28-4e69-885e-23af63d7566b", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/scripts/migrate-canvas.ts b/BezierPathsDemo/assets/scripts/migrate-canvas.ts new file mode 100644 index 0000000..0ced648 --- /dev/null +++ b/BezierPathsDemo/assets/scripts/migrate-canvas.ts @@ -0,0 +1,85 @@ +/** + * UI 的渲染在 v3.0 变为使用 node.layer 来判断可见性,为了保证老版本项目升级后表现一致, + * Creator 会在运行时动态分配一个未使用的 layer 给常驻节点的 UI,避免常驻节点的 UI 与场景中 + * 的其他 UI 的 layer 发生冲突,当你确定不会发生冲突时,你可以移除此脚本. + * + * UI rendering has changed in v3.0 to use node.layer to determine visibility. + * To ensure consistent performance after upgrading old projects. + * Creator will dynamically assign an unused layer to the UI node in the persist node at + * runtime to avoid conflicts between the layer of UI in the persist node and the + * layer of other UI in the scene. You can remove this script when you + * are sure there is no conflict + */ + +import { _decorator, Node, director, Director, game, BaseNode, Canvas, Camera } from 'cc'; + +const customLayerMask = 0x000fffff; +const builtinLayerMask = 0xfff00000; + +director.on(Director.EVENT_AFTER_SCENE_LAUNCH, () => { + const roots = director.getScene()?.children as BaseNode[]; + let allCanvases = director.getScene()?.getComponentsInChildren(Canvas) as Canvas[]; + if (allCanvases.length <= 1) return; + allCanvases = allCanvases.filter(x => !!x.cameraComponent); + + let allCameras = director.getScene()?.getComponentsInChildren(Camera) as Camera[]; + let usedLayer = 0; + allCameras.forEach(x => usedLayer |= (x.visibility & customLayerMask)); + + const persistCanvas: Canvas[] = []; + for (let i = 0, l = roots.length; i < l; i++) { + const root = roots[i]; + if (!game.isPersistRootNode(root)) continue; + const canvases = root.getComponentsInChildren(Canvas); + if (canvases.length === 0) continue; + persistCanvas.push(...canvases.filter(x => !!x.cameraComponent)); + } + + persistCanvas.forEach((val) => { + const isLayerCollided = allCanvases.find(x => x !== val && (x.cameraComponent!.visibility & val.cameraComponent!.visibility & customLayerMask)); + if (isLayerCollided) { + const availableLayers = ~usedLayer; + const lastAvailableLayer = availableLayers & ~(availableLayers - 1); + val.cameraComponent!.visibility = lastAvailableLayer | (val.cameraComponent!.visibility & builtinLayerMask); + setChildrenLayer(val.node, lastAvailableLayer); + usedLayer |= availableLayers; + } + }); +}); + +function setChildrenLayer (node: Node, layer: number) { + for (let i = 0, l = node.children.length; i < l; i++) { + node.children[i].layer = layer; + setChildrenLayer(node.children[i], layer); + } +} + +let setParentEngine = cc.Node.prototype.setParent; + +cc.Node.prototype.setParent = function(value, keepWorldTransform) { + setParentEngine.call(this, value, keepWorldTransform); + if (!value) return; + // find canvas + let layer = getCanvasCameraLayer(this); + if (layer) { + this.layer = layer; + setChildrenLayer(this, layer); + } +} + +function getCanvasCameraLayer (node: Node) { + let layer = null; + let canvas = node.getComponent(Canvas); + if (canvas && canvas.cameraComponent) { + if (canvas.cameraComponent.visibility & canvas.node.layer) { + layer = canvas.node.layer; + } else { + layer = canvas.cameraComponent.visibility & ~(canvas.cameraComponent.visibility - 1); + } + return layer; + } + if (node.parent) { + layer = getCanvasCameraLayer(node.parent); + } + return layer; +} \ No newline at end of file diff --git a/BezierPathsDemo/assets/scripts/migrate-canvas.ts.meta b/BezierPathsDemo/assets/scripts/migrate-canvas.ts.meta new file mode 100644 index 0000000..5e49f3d --- /dev/null +++ b/BezierPathsDemo/assets/scripts/migrate-canvas.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.21", + "importer": "typescript", + "imported": true, + "uuid": "0281b04b-007d-48fc-b494-a5f3aa2cab6b", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/BezierPathsDemo/assets/skybox.meta b/BezierPathsDemo/assets/skybox.meta new file mode 100644 index 0000000..46fb35c --- /dev/null +++ b/BezierPathsDemo/assets/skybox.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "9e344b1f-8681-4ddf-bcc6-bb014c332bb8", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/BezierPathsDemo/assets/skybox/sunnySkyBox.jpg b/BezierPathsDemo/assets/skybox/sunnySkyBox.jpg new file mode 100644 index 0000000..633a4b7 Binary files /dev/null and b/BezierPathsDemo/assets/skybox/sunnySkyBox.jpg differ diff --git a/BezierPathsDemo/assets/skybox/sunnySkyBox.jpg.meta b/BezierPathsDemo/assets/skybox/sunnySkyBox.jpg.meta new file mode 100644 index 0000000..3a9dc36 --- /dev/null +++ b/BezierPathsDemo/assets/skybox/sunnySkyBox.jpg.meta @@ -0,0 +1,131 @@ +{ + "ver": "1.0.21", + "importer": "image", + "imported": true, + "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb", + "files": [ + ".jpg", + ".json" + ], + "subMetas": { + "b47c0": { + "importer": "erp-texture-cube", + "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0", + "displayName": "sunnySkyBox", + "id": "b47c0", + "name": "textureCube", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "linear", + "anisotropy": 1, + "isRGBE": false, + "imageDatabaseUri": "db://assets/skybox/sunnySkyBox.jpg" + }, + "ver": "1.0.9", + "imported": true, + "files": [ + ".json" + ], + "subMetas": { + "7d38f": { + "importer": "texture-cube-face", + "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@7d38f", + "displayName": "", + "id": "7d38f", + "name": "bottom", + "userData": {}, + "ver": "1.0.0", + "imported": true, + "files": [ + ".png", + ".json" + ], + "subMetas": {} + }, + "40c10": { + "importer": "texture-cube-face", + "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@40c10", + "displayName": "", + "id": "40c10", + "name": "back", + "userData": {}, + "ver": "1.0.0", + "imported": true, + "files": [ + ".png", + ".json" + ], + "subMetas": {} + }, + "e9a6d": { + "importer": "texture-cube-face", + "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@e9a6d", + "displayName": "", + "id": "e9a6d", + "name": "front", + "userData": {}, + "ver": "1.0.0", + "imported": true, + "files": [ + ".png", + ".json" + ], + "subMetas": {} + }, + "bb97f": { + "importer": "texture-cube-face", + "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@bb97f", + "displayName": "", + "id": "bb97f", + "name": "top", + "userData": {}, + "ver": "1.0.0", + "imported": true, + "files": [ + ".png", + ".json" + ], + "subMetas": {} + }, + "74afd": { + "importer": "texture-cube-face", + "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@74afd", + "displayName": "", + "id": "74afd", + "name": "right", + "userData": {}, + "ver": "1.0.0", + "imported": true, + "files": [ + ".png", + ".json" + ], + "subMetas": {} + }, + "8fd34": { + "importer": "texture-cube-face", + "uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@8fd34", + "displayName": "", + "id": "8fd34", + "name": "left", + "userData": {}, + "ver": "1.0.0", + "imported": true, + "files": [ + ".png", + ".json" + ], + "subMetas": {} + } + } + } + }, + "userData": { + "hasAlpha": false, + "type": "texture cube", + "redirect": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0" + } +} diff --git a/BezierPathsDemo/package.json b/BezierPathsDemo/package.json new file mode 100644 index 0000000..e56be32 --- /dev/null +++ b/BezierPathsDemo/package.json @@ -0,0 +1,6 @@ +{ + "name": "BezierDemo", + "type": "3d", + "uuid": "c30b28da-749e-479b-bcb6-cecd8d7be9e3", + "version": "3.0.0" +} diff --git a/BezierPathsDemo/settings/1.2.0/packages/builder.json b/BezierPathsDemo/settings/1.2.0/packages/builder.json new file mode 100644 index 0000000..ad47cd6 --- /dev/null +++ b/BezierPathsDemo/settings/1.2.0/packages/builder.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.2.4" +} diff --git a/BezierPathsDemo/settings/1.2.0/packages/engine.json b/BezierPathsDemo/settings/1.2.0/packages/engine.json new file mode 100644 index 0000000..88d6913 --- /dev/null +++ b/BezierPathsDemo/settings/1.2.0/packages/engine.json @@ -0,0 +1,18 @@ +{ + "modules": { + "cache": {}, + "includeModules": [ + "base", + "gfx-webgl", + "gfx-webgl2", + "ui", + "particle", + "physics-cannon", + "physics-framework", + "audio", + "tween", + "terrain" + ] + }, + "__version__": "1.0.1" +} diff --git a/BezierPathsDemo/settings/1.2.0/packages/project.json b/BezierPathsDemo/settings/1.2.0/packages/project.json new file mode 100644 index 0000000..4e78796 --- /dev/null +++ b/BezierPathsDemo/settings/1.2.0/packages/project.json @@ -0,0 +1,7 @@ +{ + "__version__": "1.0.1", + "script": { + "useDefineForClassFields": false, + "allowDeclareFields": false + } +} diff --git a/BezierPathsDemo/settings/v2/packages/builder.json b/BezierPathsDemo/settings/v2/packages/builder.json new file mode 100644 index 0000000..a00509f --- /dev/null +++ b/BezierPathsDemo/settings/v2/packages/builder.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.2.6" +} diff --git a/BezierPathsDemo/settings/v2/packages/engine.json b/BezierPathsDemo/settings/v2/packages/engine.json new file mode 100644 index 0000000..47a0b66 --- /dev/null +++ b/BezierPathsDemo/settings/v2/packages/engine.json @@ -0,0 +1,28 @@ +{ + "modules": { + "cache": {}, + "includeModules": [ + "base", + "gfx-webgl", + "3d", + "2d", + "ui", + "particle", + "physics-ammo", + "physics-2d-box2d", + "intersection-2d", + "primitive", + "profiler", + "particle-2d", + "audio", + "video", + "webview", + "tween", + "terrain", + "tiled-map", + "spine", + "dragon-bones" + ] + }, + "__version__": "1.0.5" +} diff --git a/BezierPathsDemo/settings/v2/packages/project.json b/BezierPathsDemo/settings/v2/packages/project.json new file mode 100644 index 0000000..f7ca559 --- /dev/null +++ b/BezierPathsDemo/settings/v2/packages/project.json @@ -0,0 +1,13 @@ +{ + "__version__": "1.0.1", + "script": { + "useDefineForClassFields": false, + "allowDeclareFields": false + }, + "general": { + "designResolution": { + "width": 720, + "height": 1280 + } + } +} diff --git a/BezierPathsDemo/tsconfig.json b/BezierPathsDemo/tsconfig.json new file mode 100644 index 0000000..faff299 --- /dev/null +++ b/BezierPathsDemo/tsconfig.json @@ -0,0 +1,6 @@ +{ + /* Base configuration. Do not edit this field. */ + "extends": "./temp/tsconfig.cocos.json" + + /* Add your custom configuration here. */ +}