添加一个生成匀速Bezier曲线
24
BezierPathsDemo/.gitignore
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
#///////////////////////////
|
||||
# Cocos Creator 3D Project
|
||||
#///////////////////////////
|
||||
library/
|
||||
temp/
|
||||
local/
|
||||
build/
|
||||
profiles/
|
||||
native
|
||||
#//////////////////////////
|
||||
# NPM
|
||||
#//////////////////////////
|
||||
node_modules/
|
||||
|
||||
#//////////////////////////
|
||||
# VSCode
|
||||
#//////////////////////////
|
||||
.vscode/
|
||||
|
||||
#//////////////////////////
|
||||
# WebStorm
|
||||
#//////////////////////////
|
||||
.idea/
|
||||
6
BezierPathsDemo/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# 生成匀速Bezier曲线
|
||||
> 实现2d与3d的三阶匀速曲线
|
||||
|
||||
## 参考
|
||||
* https://blog.csdn.net/iSunwish/article/details/78935257
|
||||
* https://blog.csdn.net/iSunwish/article/details/112127363
|
||||
12
BezierPathsDemo/assets/material.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "bcb14f34-8131-435f-a8f5-29612c45af59",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
34
BezierPathsDemo/assets/material/hdcSky.mtl
Normal file
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
11
BezierPathsDemo/assets/material/hdcSky.mtl.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.9",
|
||||
"importer": "material",
|
||||
"imported": true,
|
||||
"uuid": "482a5162-dad9-446c-b548-8486c7598ee1",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
34
BezierPathsDemo/assets/material/plane.mtl
Normal file
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
11
BezierPathsDemo/assets/material/plane.mtl.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.9",
|
||||
"importer": "material",
|
||||
"imported": true,
|
||||
"uuid": "23e988d0-7168-4fe2-9d46-f29c114e9e33",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
42
BezierPathsDemo/assets/material/seafloor.mtl
Normal file
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
11
BezierPathsDemo/assets/material/seafloor.mtl.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.9",
|
||||
"importer": "material",
|
||||
"imported": true,
|
||||
"uuid": "70d33758-1c1e-424d-b0ab-eac7410559bf",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
62
BezierPathsDemo/assets/material/shield.mtl
Normal file
@@ -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"
|
||||
}
|
||||
},
|
||||
{},
|
||||
{}
|
||||
]
|
||||
}
|
||||
11
BezierPathsDemo/assets/material/shield.mtl.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.9",
|
||||
"importer": "material",
|
||||
"imported": true,
|
||||
"uuid": "8e047178-f61c-4322-a2f6-d1adb28b6ae2",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
83
BezierPathsDemo/assets/material/soldier.mtl
Normal file
@@ -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"
|
||||
}
|
||||
},
|
||||
{},
|
||||
{}
|
||||
]
|
||||
}
|
||||
11
BezierPathsDemo/assets/material/soldier.mtl.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.9",
|
||||
"importer": "material",
|
||||
"imported": true,
|
||||
"uuid": "8a58ddec-f437-40b9-8ec0-1fc87de97fb5",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
83
BezierPathsDemo/assets/material/stone.mtl
Normal file
@@ -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"
|
||||
}
|
||||
},
|
||||
{},
|
||||
{}
|
||||
]
|
||||
}
|
||||
11
BezierPathsDemo/assets/material/stone.mtl.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.9",
|
||||
"importer": "material",
|
||||
"imported": true,
|
||||
"uuid": "a155f93b-7769-4ca4-b75f-b13e52193859",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
83
BezierPathsDemo/assets/material/tree.mtl
Normal file
@@ -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"
|
||||
}
|
||||
},
|
||||
{},
|
||||
{}
|
||||
]
|
||||
}
|
||||
11
BezierPathsDemo/assets/material/tree.mtl.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.9",
|
||||
"importer": "material",
|
||||
"imported": true,
|
||||
"uuid": "7bf9df40-4bc9-4e25-8cb0-9a500f949102",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
12
BezierPathsDemo/assets/model.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "1ddc11ba-ecbd-4472-841c-f3777cb248da",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
12
BezierPathsDemo/assets/model/helloWorld.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "11a1d348-a622-41b2-89f3-ed24657e5f84",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
12
BezierPathsDemo/assets/model/helloWorld/grass.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "e00862a8-c500-427c-b76f-bbe5203f19cc",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/model/helloWorld/grass/grass.FBX
Normal file
170
BezierPathsDemo/assets/model/helloWorld/grass/grass.FBX.meta
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
34
BezierPathsDemo/assets/model/helloWorld/grass/grass.mtl
Normal file
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
11
BezierPathsDemo/assets/model/helloWorld/grass/grass.mtl.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.9",
|
||||
"importer": "material",
|
||||
"imported": true,
|
||||
"uuid": "b698e55a-b00b-4987-a8b4-af83cddc59f7",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/model/helloWorld/grass/grass.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
41
BezierPathsDemo/assets/model/helloWorld/grass/grass.png.meta
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
589
BezierPathsDemo/assets/model/helloWorld/grass/grass.prefab
Normal file
@@ -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"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "1.1.27",
|
||||
"importer": "prefab",
|
||||
"imported": true,
|
||||
"uuid": "ebe68402-4803-40d3-b0a2-ca696e3f7c60",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"syncNodeName": "grass"
|
||||
}
|
||||
}
|
||||
7035
BezierPathsDemo/assets/model/helloWorld/grass/grassGoup.prefab
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "1.1.27",
|
||||
"importer": "prefab",
|
||||
"imported": true,
|
||||
"uuid": "5e4d48c4-0e34-45af-a268-89485197e8bc",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"syncNodeName": "grassGoup"
|
||||
}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/model/helloWorld/hdcSky.FBX
Normal file
110
BezierPathsDemo/assets/model/helloWorld/hdcSky.FBX.meta
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
223
BezierPathsDemo/assets/model/helloWorld/hdcSky.prefab
Normal file
@@ -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"
|
||||
}
|
||||
]
|
||||
13
BezierPathsDemo/assets/model/helloWorld/hdcSky.prefab.meta
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "1.1.27",
|
||||
"importer": "prefab",
|
||||
"imported": true,
|
||||
"uuid": "f0512d7a-e4f6-4209-8dc0-ed1de7149c85",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"syncNodeName": "hdcSky"
|
||||
}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/model/helloWorld/islands.FBX
Normal file
366
BezierPathsDemo/assets/model/helloWorld/islands.FBX.meta
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
1178
BezierPathsDemo/assets/model/helloWorld/islands.prefab
Normal file
13
BezierPathsDemo/assets/model/helloWorld/islands.prefab.meta
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "1.1.27",
|
||||
"importer": "prefab",
|
||||
"imported": true,
|
||||
"uuid": "ccc3a755-7d3d-4304-aa3b-ca4792d79d9f",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"syncNodeName": "islands"
|
||||
}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/model/helloWorld/seafloor.jpg
Normal file
|
After Width: | Height: | Size: 476 KiB |
41
BezierPathsDemo/assets/model/helloWorld/seafloor.jpg.meta
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/model/helloWorld/shield.jpg
Normal file
|
After Width: | Height: | Size: 13 KiB |
41
BezierPathsDemo/assets/model/helloWorld/shield.jpg.meta
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/model/helloWorld/sky.png
Normal file
|
After Width: | Height: | Size: 691 KiB |
41
BezierPathsDemo/assets/model/helloWorld/sky.png.meta
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/model/helloWorld/soldier.FBX
Normal file
307
BezierPathsDemo/assets/model/helloWorld/soldier.FBX.meta
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/model/helloWorld/soldier.png
Normal file
|
After Width: | Height: | Size: 329 KiB |
41
BezierPathsDemo/assets/model/helloWorld/soldier.png.meta
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
2132
BezierPathsDemo/assets/model/helloWorld/soldier.prefab
Normal file
13
BezierPathsDemo/assets/model/helloWorld/soldier.prefab.meta
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "1.1.27",
|
||||
"importer": "prefab",
|
||||
"imported": true,
|
||||
"uuid": "cfc53c4e-7956-482b-aebc-3fb1dcd36eef",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"syncNodeName": "soldier"
|
||||
}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/model/helloWorld/stone.jpg
Normal file
|
After Width: | Height: | Size: 84 KiB |
41
BezierPathsDemo/assets/model/helloWorld/stone.jpg.meta
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/model/helloWorld/tree.png
Normal file
|
After Width: | Height: | Size: 131 KiB |
41
BezierPathsDemo/assets/model/helloWorld/tree.png.meta
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
12
BezierPathsDemo/assets/scene.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "b0a4abb1-db32-49c3-9e09-a45b922a2094",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
692
BezierPathsDemo/assets/scene/Bezier.scene
Normal file
@@ -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
|
||||
}
|
||||
]
|
||||
11
BezierPathsDemo/assets/scene/Bezier.scene.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.1.27",
|
||||
"importer": "scene",
|
||||
"imported": true,
|
||||
"uuid": "f2d7ea36-b11b-44a5-8f58-31b75049daf6",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
12
BezierPathsDemo/assets/scripts.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "5cbca12f-0036-4e32-952b-6b3da0042b50",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
205
BezierPathsDemo/assets/scripts/BezierCurvesKit.ts
Normal file
@@ -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
|
||||
*/
|
||||
9
BezierPathsDemo/assets/scripts/BezierCurvesKit.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.21",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "25e55cbe-4b98-4aa0-85f3-1f379798a490",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
52
BezierPathsDemo/assets/scripts/GraphicsHelper.ts
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
9
BezierPathsDemo/assets/scripts/GraphicsHelper.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.21",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "8d86d36c-9ed5-4f34-b948-d0a234860faa",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
41
BezierPathsDemo/assets/scripts/Main.ts
Normal file
@@ -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
|
||||
*/
|
||||
9
BezierPathsDemo/assets/scripts/Main.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.21",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "35bc6dc3-6b28-4e69-885e-23af63d7566b",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
85
BezierPathsDemo/assets/scripts/migrate-canvas.ts
Normal file
@@ -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;
|
||||
}
|
||||
9
BezierPathsDemo/assets/scripts/migrate-canvas.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.21",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "0281b04b-007d-48fc-b494-a5f3aa2cab6b",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
12
BezierPathsDemo/assets/skybox.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "9e344b1f-8681-4ddf-bcc6-bb014c332bb8",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
BIN
BezierPathsDemo/assets/skybox/sunnySkyBox.jpg
Normal file
|
After Width: | Height: | Size: 494 KiB |
131
BezierPathsDemo/assets/skybox/sunnySkyBox.jpg.meta
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
6
BezierPathsDemo/package.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "BezierDemo",
|
||||
"type": "3d",
|
||||
"uuid": "c30b28da-749e-479b-bcb6-cecd8d7be9e3",
|
||||
"version": "3.0.0"
|
||||
}
|
||||
3
BezierPathsDemo/settings/1.2.0/packages/builder.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"__version__": "1.2.4"
|
||||
}
|
||||
18
BezierPathsDemo/settings/1.2.0/packages/engine.json
Normal file
@@ -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"
|
||||
}
|
||||
7
BezierPathsDemo/settings/1.2.0/packages/project.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"__version__": "1.0.1",
|
||||
"script": {
|
||||
"useDefineForClassFields": false,
|
||||
"allowDeclareFields": false
|
||||
}
|
||||
}
|
||||
3
BezierPathsDemo/settings/v2/packages/builder.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"__version__": "1.2.6"
|
||||
}
|
||||
28
BezierPathsDemo/settings/v2/packages/engine.json
Normal file
@@ -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"
|
||||
}
|
||||
13
BezierPathsDemo/settings/v2/packages/project.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"__version__": "1.0.1",
|
||||
"script": {
|
||||
"useDefineForClassFields": false,
|
||||
"allowDeclareFields": false
|
||||
},
|
||||
"general": {
|
||||
"designResolution": {
|
||||
"width": 720,
|
||||
"height": 1280
|
||||
}
|
||||
}
|
||||
}
|
||||
6
BezierPathsDemo/tsconfig.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
/* Base configuration. Do not edit this field. */
|
||||
"extends": "./temp/tsconfig.cocos.json"
|
||||
|
||||
/* Add your custom configuration here. */
|
||||
}
|
||||