com.warwlock.mtree 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/npm.yml +19 -0
- package/CHANGELOG.md +17 -0
- package/CHANGELOG.md.meta +7 -0
- package/Documentation~/Documentation.md +3 -0
- package/Editor/BranchEditor.cs +545 -0
- package/Editor/BranchEditor.cs.meta +16 -0
- package/Editor/EditorCallbacks.cs +69 -0
- package/Editor/EditorCallbacks.cs.meta +11 -0
- package/Editor/MTree.Editor.asmdef +18 -0
- package/Editor/MTree.Editor.asmdef.meta +7 -0
- package/Editor/MenuItem.cs +31 -0
- package/Editor/MenuItem.cs.meta +11 -0
- package/Editor/MtreeBezierInspector.cs +161 -0
- package/Editor/MtreeBezierInspector.cs.meta +11 -0
- package/Editor/MtreeEditor.cs +434 -0
- package/Editor/MtreeEditor.cs.meta +11 -0
- package/Editor/TemplateInspector.cs +66 -0
- package/Editor/TemplateInspector.cs.meta +12 -0
- package/Editor/ValuesEditor.cs +18 -0
- package/Editor/ValuesEditor.cs.meta +11 -0
- package/Editor/VertexColorAdjustmentEditor.cs +169 -0
- package/Editor/VertexColorAdjustmentEditor.cs.meta +11 -0
- package/Editor.meta +8 -0
- package/LICENSE +21 -0
- package/LICENSE.meta +7 -0
- package/README.md +68 -0
- package/README.md.meta +7 -0
- package/Resources/Mtree/MtreeBillboardCamera.prefab +204 -0
- package/Resources/Mtree/MtreeBillboardCamera.prefab.meta +8 -0
- package/Resources/Mtree/Sprites/DeleteCrossSprite.png +0 -0
- package/Resources/Mtree/Sprites/DeleteCrossSprite.png.meta +116 -0
- package/Resources/Mtree/Sprites/TreeFunctionSprite.png +0 -0
- package/Resources/Mtree/Sprites/TreeFunctionSprite.png.meta +116 -0
- package/Resources/Mtree/Sprites/TreeFunctionSpriteSelected.psd +0 -0
- package/Resources/Mtree/Sprites/TreeFunctionSpriteSelected.psd.meta +116 -0
- package/Resources/Mtree/Sprites.meta +8 -0
- package/Resources/Mtree/Vertex Color Editor/Mtree Vertex Color GameObject.prefab +104 -0
- package/Resources/Mtree/Vertex Color Editor/Mtree Vertex Color GameObject.prefab.meta +7 -0
- package/Resources/Mtree/Vertex Color Editor.meta +8 -0
- package/Resources/Mtree/branches.fbx +0 -0
- package/Resources/Mtree/branches.fbx.meta +137 -0
- package/Resources/Mtree.meta +8 -0
- package/Resources.meta +8 -0
- package/Runtime/AO/DensityAO.cs +203 -0
- package/Runtime/AO/DensityAO.cs.meta +11 -0
- package/Runtime/AO/KDTree.cs +169 -0
- package/Runtime/AO/KDTree.cs.meta +11 -0
- package/Runtime/AO/WeightedRandom.cs +74 -0
- package/Runtime/AO/WeightedRandom.cs.meta +11 -0
- package/Runtime/AO.meta +8 -0
- package/Runtime/Bezier/Bezier.cs +69 -0
- package/Runtime/Bezier/Bezier.cs.meta +11 -0
- package/Runtime/Bezier/MtreeBezier.cs +185 -0
- package/Runtime/Bezier/MtreeBezier.cs.meta +11 -0
- package/Runtime/Bezier.meta +8 -0
- package/Runtime/ExampleSceneManager.cs +165 -0
- package/Runtime/ExampleSceneManager.cs.meta +11 -0
- package/Runtime/LODValues.cs +44 -0
- package/Runtime/LODValues.cs.meta +11 -0
- package/Runtime/LeafPoint.cs +135 -0
- package/Runtime/LeafPoint.cs.meta +11 -0
- package/Runtime/MTree.Runtime.asmdef +3 -0
- package/Runtime/MTree.Runtime.asmdef.meta +7 -0
- package/Runtime/MTree.cs +569 -0
- package/Runtime/MTree.cs.meta +11 -0
- package/Runtime/MtreeComponent.cs +482 -0
- package/Runtime/MtreeComponent.cs.meta +11 -0
- package/Runtime/MtreeVariables.cs +11 -0
- package/Runtime/MtreeVariables.cs.meta +11 -0
- package/Runtime/MtreeWind.cs +94 -0
- package/Runtime/MtreeWind.cs.meta +11 -0
- package/Runtime/Node.cs +331 -0
- package/Runtime/Node.cs.meta +11 -0
- package/Runtime/SimplexNoise.cs +166 -0
- package/Runtime/SimplexNoise.cs.meta +11 -0
- package/Runtime/Splines.cs +379 -0
- package/Runtime/Splines.cs.meta +11 -0
- package/Runtime/TreeBilboard.cs +290 -0
- package/Runtime/TreeBilboard.cs.meta +11 -0
- package/Runtime/TreeFunctions/BranchFunction.cs +92 -0
- package/Runtime/TreeFunctions/BranchFunction.cs.meta +11 -0
- package/Runtime/TreeFunctions/GrowFunction.cs +81 -0
- package/Runtime/TreeFunctions/GrowFunction.cs.meta +11 -0
- package/Runtime/TreeFunctions/LeafFunction.cs +111 -0
- package/Runtime/TreeFunctions/LeafFunction.cs.meta +11 -0
- package/Runtime/TreeFunctions/RootsFunction.cs +77 -0
- package/Runtime/TreeFunctions/RootsFunction.cs.meta +11 -0
- package/Runtime/TreeFunctions/SplitFunction.cs +50 -0
- package/Runtime/TreeFunctions/SplitFunction.cs.meta +11 -0
- package/Runtime/TreeFunctions/TreeFunctionAsset.cs +105 -0
- package/Runtime/TreeFunctions/TreeFunctionAsset.cs.meta +11 -0
- package/Runtime/TreeFunctions/TrunkFunction.cs +88 -0
- package/Runtime/TreeFunctions/TrunkFunction.cs.meta +11 -0
- package/Runtime/TreeFunctions.meta +8 -0
- package/Runtime/TreePoint.cs +27 -0
- package/Runtime/TreePoint.cs.meta +11 -0
- package/Runtime/TreeTemplate.cs +50 -0
- package/Runtime/TreeTemplate.cs.meta +12 -0
- package/Runtime/Utils.cs +268 -0
- package/Runtime/Utils.cs.meta +11 -0
- package/Runtime/VSProIntegration.cs +132 -0
- package/Runtime/VSProIntegration.cs.meta +11 -0
- package/Runtime.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Birch.asset +364 -0
- package/Samples~/ExampleTemplates/Examples/Birch.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Bush.asset +385 -0
- package/Samples~/ExampleTemplates/Examples/Bush.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Eastern Pine.asset +482 -0
- package/Samples~/ExampleTemplates/Examples/Eastern Pine.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/FantasyTree.asset +406 -0
- package/Samples~/ExampleTemplates/Examples/FantasyTree.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Fern.asset +291 -0
- package/Samples~/ExampleTemplates/Examples/Fern.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/High Poly.asset +300 -0
- package/Samples~/ExampleTemplates/Examples/High Poly.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/LightingData.asset +0 -0
- package/Samples~/ExampleTemplates/Examples/LightingData.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Birch Outline.mat +196 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Birch Outline.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Birch.mat +196 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Birch.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Fern.mat +181 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Fern.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark HighPoly.mat +201 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark HighPoly.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Oak.mat +208 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Oak.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Palm.mat +180 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Palm.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Pine.mat +206 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Pine.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Ponderossa.mat +206 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Ponderossa.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Poplar.mat +172 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark/Bark Poplar.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Bark.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Example Scene/Floor.mat +392 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Example Scene/Floor.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Example Scene.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Fern.mat +202 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Fern.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs HighPoly.mat +265 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs HighPoly.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Needles.mat +267 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Needles.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Palm.mat +232 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Palm.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Palmate.mat +250 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Palmate.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Pine.mat +247 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Pine.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Poplar.mat +223 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Poplar.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Serrate Outline.mat +262 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Serrate Outline.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Serrate.mat +281 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Serrate.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Stone Pine.mat +267 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Stone Pine.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Willow.mat +236 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs/Leafs Willow.mat.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials/Leafs.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Materials.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Oak.asset +364 -0
- package/Samples~/ExampleTemplates/Examples/Oak.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Old Oak.asset +364 -0
- package/Samples~/ExampleTemplates/Examples/Old Oak.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Palm.asset +500 -0
- package/Samples~/ExampleTemplates/Examples/Palm.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Pine 2.asset +387 -0
- package/Samples~/ExampleTemplates/Examples/Pine 2.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Pine.asset +405 -0
- package/Samples~/ExampleTemplates/Examples/Pine.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Ponderossa Pine.asset +478 -0
- package/Samples~/ExampleTemplates/Examples/Ponderossa Pine.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Poplar.asset +309 -0
- package/Samples~/ExampleTemplates/Examples/Poplar.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/ReflectionProbe-0.exr +0 -0
- package/Samples~/ExampleTemplates/Examples/ReflectionProbe-0.exr.meta +117 -0
- package/Samples~/ExampleTemplates/Examples/Small Pine.asset +273 -0
- package/Samples~/ExampleTemplates/Examples/Small Pine.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Small Tree.asset +364 -0
- package/Samples~/ExampleTemplates/Examples/Small Tree.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Birch_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Birch_C.png.meta +74 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Birch_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Birch_N.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Damaged_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Damaged_C.png.meta +116 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Damaged_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Damaged_N.png.meta +116 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_1_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_1_C.png.meta +132 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_1_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_1_N.png.meta +116 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_2_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_2_C.png.meta +132 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_3_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_3_C.png.meta +132 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_3_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_3_N.png.meta +116 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_4_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_4_C.png.meta +132 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_4_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Decidious_4_N.png.meta +116 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Oak_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Oak_C.png.meta +74 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Oak_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Oak_N.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Palm_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Palm_C.png.meta +74 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Palm_N.bmp +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Palm_N.bmp.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Pine_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Pine_C.png.meta +74 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Pine_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark/Bark_Pine_N.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Bark.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch Serrate_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch Serrate_C.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch Serrate_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch Serrate_N.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Needles_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Needles_C.png.meta +99 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Needles_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Needles_N.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Palmate_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Palmate_C.png.meta +99 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Palmate_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Palmate_N.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_1_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_1_C.png.meta +88 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_1_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_1_N.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_2_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_2_C.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_2_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Pine_2_N.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Poplar_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Poplar_C.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Poplar_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch/Branch_Poplar_N.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Branch.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Color Ramp/Ramp_PSD.psd +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Color Ramp/Ramp_PSD.psd.meta +76 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Color Ramp/Ramp_Toon.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Color Ramp/Ramp_Toon.png.meta +76 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Color Ramp.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Fern_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Fern_C.png.meta +99 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Fern_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Fern_N.png.meta +88 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Palm_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Palm_C.png.meta +88 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Palm_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Palm_N.png.meta +88 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Willow_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Willow_C.png.meta +99 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Willow_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Leaf_Willow_N.png.meta +88 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Single_Serrated_C.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Single_Serrated_C.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Single_Serrated_N.png +0 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs/Single_Serrated_N.png.meta +96 -0
- package/Samples~/ExampleTemplates/Examples/Textures/Single Leafs.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Textures.meta +8 -0
- package/Samples~/ExampleTemplates/Examples/Willow.asset +364 -0
- package/Samples~/ExampleTemplates/Examples/Willow.asset.meta +8 -0
- package/Samples~/ExampleTemplates/Examples.meta +8 -0
- package/Samples~/ExampleTemplates/Examples.unity +12660 -0
- package/Samples~/ExampleTemplates/Examples.unity.meta +7 -0
- package/Samples~/ExampleTemplates.meta +8 -0
- package/Shaders/BarkShader.shadergraph +17215 -0
- package/Shaders/BarkShader.shadergraph.meta +10 -0
- package/Shaders/Editor/BarkEditor.cs +100 -0
- package/Shaders/Editor/BarkEditor.cs.meta +11 -0
- package/Shaders/Editor/LeafEditor.cs +173 -0
- package/Shaders/Editor/LeafEditor.cs.meta +11 -0
- package/Shaders/Editor.meta +8 -0
- package/Shaders/LeafShader.shadergraph +34803 -0
- package/Shaders/LeafShader.shadergraph.meta +10 -0
- package/Shaders/MTree.Shaders.asmdef +3 -0
- package/Shaders/MTree.Shaders.asmdef.meta +7 -0
- package/Shaders/leafFunctions.hlsl +201 -0
- package/Shaders/leafFunctions.hlsl.meta +7 -0
- package/Shaders/vertexFunc.hlsl +55 -0
- package/Shaders/vertexFunc.hlsl.meta +7 -0
- package/Shaders.meta +8 -0
- package/package.json +36 -0
- package/package.json.meta +7 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 0664f20bb2cf5c049bd7cad13e624e7e
|
|
3
|
+
TextureImporter:
|
|
4
|
+
fileIDToRecycleName: {}
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
serializedVersion: 9
|
|
7
|
+
mipmaps:
|
|
8
|
+
mipMapMode: 0
|
|
9
|
+
enableMipMap: 1
|
|
10
|
+
sRGBTexture: 0
|
|
11
|
+
linearTexture: 0
|
|
12
|
+
fadeOut: 0
|
|
13
|
+
borderMipMap: 0
|
|
14
|
+
mipMapsPreserveCoverage: 0
|
|
15
|
+
alphaTestReferenceValue: 0.5
|
|
16
|
+
mipMapFadeDistanceStart: 1
|
|
17
|
+
mipMapFadeDistanceEnd: 3
|
|
18
|
+
bumpmap:
|
|
19
|
+
convertToNormalMap: 0
|
|
20
|
+
externalNormalMap: 0
|
|
21
|
+
heightScale: 0.25
|
|
22
|
+
normalMapFilter: 0
|
|
23
|
+
isReadable: 0
|
|
24
|
+
streamingMipmaps: 0
|
|
25
|
+
streamingMipmapsPriority: 0
|
|
26
|
+
grayScaleToAlpha: 0
|
|
27
|
+
generateCubemap: 6
|
|
28
|
+
cubemapConvolution: 0
|
|
29
|
+
seamlessCubemap: 0
|
|
30
|
+
textureFormat: 1
|
|
31
|
+
maxTextureSize: 2048
|
|
32
|
+
textureSettings:
|
|
33
|
+
serializedVersion: 2
|
|
34
|
+
filterMode: -1
|
|
35
|
+
aniso: -1
|
|
36
|
+
mipBias: -100
|
|
37
|
+
wrapU: -1
|
|
38
|
+
wrapV: -1
|
|
39
|
+
wrapW: -1
|
|
40
|
+
nPOTScale: 1
|
|
41
|
+
lightmap: 0
|
|
42
|
+
compressionQuality: 50
|
|
43
|
+
spriteMode: 0
|
|
44
|
+
spriteExtrude: 1
|
|
45
|
+
spriteMeshType: 1
|
|
46
|
+
alignment: 0
|
|
47
|
+
spritePivot: {x: 0.5, y: 0.5}
|
|
48
|
+
spritePixelsToUnits: 100
|
|
49
|
+
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
|
50
|
+
spriteGenerateFallbackPhysicsShape: 1
|
|
51
|
+
alphaUsage: 1
|
|
52
|
+
alphaIsTransparency: 0
|
|
53
|
+
spriteTessellationDetail: -1
|
|
54
|
+
textureType: 1
|
|
55
|
+
textureShape: 1
|
|
56
|
+
singleChannelComponent: 0
|
|
57
|
+
maxTextureSizeSet: 0
|
|
58
|
+
compressionQualitySet: 0
|
|
59
|
+
textureFormatSet: 0
|
|
60
|
+
platformSettings:
|
|
61
|
+
- serializedVersion: 2
|
|
62
|
+
buildTarget: DefaultTexturePlatform
|
|
63
|
+
maxTextureSize: 2048
|
|
64
|
+
resizeAlgorithm: 0
|
|
65
|
+
textureFormat: -1
|
|
66
|
+
textureCompression: 1
|
|
67
|
+
compressionQuality: 50
|
|
68
|
+
crunchedCompression: 0
|
|
69
|
+
allowsAlphaSplitting: 0
|
|
70
|
+
overridden: 0
|
|
71
|
+
androidETC2FallbackOverride: 0
|
|
72
|
+
spriteSheet:
|
|
73
|
+
serializedVersion: 2
|
|
74
|
+
sprites: []
|
|
75
|
+
outline: []
|
|
76
|
+
physicsShape: []
|
|
77
|
+
bones: []
|
|
78
|
+
spriteID:
|
|
79
|
+
vertices: []
|
|
80
|
+
indices:
|
|
81
|
+
edges: []
|
|
82
|
+
weights: []
|
|
83
|
+
spritePackingTag:
|
|
84
|
+
pSDRemoveMatte: 0
|
|
85
|
+
pSDShowRemoveMatteOption: 0
|
|
86
|
+
userData:
|
|
87
|
+
assetBundleName:
|
|
88
|
+
assetBundleVariant:
|
|
Binary file
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: fa92e022faac9774fa119daa58d30e1e
|
|
3
|
+
TextureImporter:
|
|
4
|
+
fileIDToRecycleName: {}
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
serializedVersion: 4
|
|
7
|
+
mipmaps:
|
|
8
|
+
mipMapMode: 0
|
|
9
|
+
enableMipMap: 1
|
|
10
|
+
sRGBTexture: 1
|
|
11
|
+
linearTexture: 0
|
|
12
|
+
fadeOut: 0
|
|
13
|
+
borderMipMap: 0
|
|
14
|
+
mipMapsPreserveCoverage: 0
|
|
15
|
+
alphaTestReferenceValue: 0.5
|
|
16
|
+
mipMapFadeDistanceStart: 1
|
|
17
|
+
mipMapFadeDistanceEnd: 3
|
|
18
|
+
bumpmap:
|
|
19
|
+
convertToNormalMap: 0
|
|
20
|
+
externalNormalMap: 0
|
|
21
|
+
heightScale: 0.25
|
|
22
|
+
normalMapFilter: 0
|
|
23
|
+
isReadable: 1
|
|
24
|
+
grayScaleToAlpha: 0
|
|
25
|
+
generateCubemap: 6
|
|
26
|
+
cubemapConvolution: 0
|
|
27
|
+
seamlessCubemap: 0
|
|
28
|
+
textureFormat: 1
|
|
29
|
+
maxTextureSize: 2048
|
|
30
|
+
textureSettings:
|
|
31
|
+
serializedVersion: 2
|
|
32
|
+
filterMode: -1
|
|
33
|
+
aniso: -1
|
|
34
|
+
mipBias: -100
|
|
35
|
+
wrapU: -1
|
|
36
|
+
wrapV: -1
|
|
37
|
+
wrapW: -1
|
|
38
|
+
nPOTScale: 1
|
|
39
|
+
lightmap: 0
|
|
40
|
+
compressionQuality: 50
|
|
41
|
+
spriteMode: 0
|
|
42
|
+
spriteExtrude: 1
|
|
43
|
+
spriteMeshType: 1
|
|
44
|
+
alignment: 0
|
|
45
|
+
spritePivot: {x: 0.5, y: 0.5}
|
|
46
|
+
spritePixelsToUnits: 100
|
|
47
|
+
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
|
48
|
+
spriteGenerateFallbackPhysicsShape: 1
|
|
49
|
+
alphaUsage: 1
|
|
50
|
+
alphaIsTransparency: 1
|
|
51
|
+
spriteTessellationDetail: -1
|
|
52
|
+
textureType: 0
|
|
53
|
+
textureShape: 1
|
|
54
|
+
maxTextureSizeSet: 0
|
|
55
|
+
compressionQualitySet: 0
|
|
56
|
+
textureFormatSet: 0
|
|
57
|
+
platformSettings:
|
|
58
|
+
- buildTarget: DefaultTexturePlatform
|
|
59
|
+
maxTextureSize: 2048
|
|
60
|
+
resizeAlgorithm: 0
|
|
61
|
+
textureFormat: -1
|
|
62
|
+
textureCompression: 1
|
|
63
|
+
compressionQuality: 50
|
|
64
|
+
crunchedCompression: 0
|
|
65
|
+
allowsAlphaSplitting: 0
|
|
66
|
+
overridden: 0
|
|
67
|
+
androidETC2FallbackOverride: 0
|
|
68
|
+
- buildTarget: Standalone
|
|
69
|
+
maxTextureSize: 2048
|
|
70
|
+
resizeAlgorithm: 0
|
|
71
|
+
textureFormat: -1
|
|
72
|
+
textureCompression: 1
|
|
73
|
+
compressionQuality: 50
|
|
74
|
+
crunchedCompression: 0
|
|
75
|
+
allowsAlphaSplitting: 0
|
|
76
|
+
overridden: 0
|
|
77
|
+
androidETC2FallbackOverride: 0
|
|
78
|
+
- buildTarget: Windows Store Apps
|
|
79
|
+
maxTextureSize: 2048
|
|
80
|
+
resizeAlgorithm: 0
|
|
81
|
+
textureFormat: -1
|
|
82
|
+
textureCompression: 1
|
|
83
|
+
compressionQuality: 50
|
|
84
|
+
crunchedCompression: 0
|
|
85
|
+
allowsAlphaSplitting: 0
|
|
86
|
+
overridden: 0
|
|
87
|
+
androidETC2FallbackOverride: 0
|
|
88
|
+
spriteSheet:
|
|
89
|
+
serializedVersion: 2
|
|
90
|
+
sprites: []
|
|
91
|
+
outline: []
|
|
92
|
+
physicsShape: []
|
|
93
|
+
spritePackingTag:
|
|
94
|
+
userData:
|
|
95
|
+
assetBundleName:
|
|
96
|
+
assetBundleVariant:
|
|
Binary file
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 484e5ae7bf0555b4d984e8c7cf893017
|
|
3
|
+
TextureImporter:
|
|
4
|
+
fileIDToRecycleName: {}
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
serializedVersion: 4
|
|
7
|
+
mipmaps:
|
|
8
|
+
mipMapMode: 0
|
|
9
|
+
enableMipMap: 1
|
|
10
|
+
sRGBTexture: 0
|
|
11
|
+
linearTexture: 0
|
|
12
|
+
fadeOut: 0
|
|
13
|
+
borderMipMap: 0
|
|
14
|
+
mipMapsPreserveCoverage: 0
|
|
15
|
+
alphaTestReferenceValue: 0.5
|
|
16
|
+
mipMapFadeDistanceStart: 1
|
|
17
|
+
mipMapFadeDistanceEnd: 3
|
|
18
|
+
bumpmap:
|
|
19
|
+
convertToNormalMap: 0
|
|
20
|
+
externalNormalMap: 0
|
|
21
|
+
heightScale: 0.25
|
|
22
|
+
normalMapFilter: 0
|
|
23
|
+
isReadable: 1
|
|
24
|
+
grayScaleToAlpha: 0
|
|
25
|
+
generateCubemap: 6
|
|
26
|
+
cubemapConvolution: 0
|
|
27
|
+
seamlessCubemap: 0
|
|
28
|
+
textureFormat: 1
|
|
29
|
+
maxTextureSize: 2048
|
|
30
|
+
textureSettings:
|
|
31
|
+
serializedVersion: 2
|
|
32
|
+
filterMode: -1
|
|
33
|
+
aniso: -1
|
|
34
|
+
mipBias: -100
|
|
35
|
+
wrapU: -1
|
|
36
|
+
wrapV: -1
|
|
37
|
+
wrapW: -1
|
|
38
|
+
nPOTScale: 1
|
|
39
|
+
lightmap: 0
|
|
40
|
+
compressionQuality: 50
|
|
41
|
+
spriteMode: 0
|
|
42
|
+
spriteExtrude: 1
|
|
43
|
+
spriteMeshType: 1
|
|
44
|
+
alignment: 0
|
|
45
|
+
spritePivot: {x: 0.5, y: 0.5}
|
|
46
|
+
spritePixelsToUnits: 100
|
|
47
|
+
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
|
48
|
+
spriteGenerateFallbackPhysicsShape: 1
|
|
49
|
+
alphaUsage: 1
|
|
50
|
+
alphaIsTransparency: 0
|
|
51
|
+
spriteTessellationDetail: -1
|
|
52
|
+
textureType: 1
|
|
53
|
+
textureShape: 1
|
|
54
|
+
maxTextureSizeSet: 0
|
|
55
|
+
compressionQualitySet: 0
|
|
56
|
+
textureFormatSet: 0
|
|
57
|
+
platformSettings:
|
|
58
|
+
- buildTarget: DefaultTexturePlatform
|
|
59
|
+
maxTextureSize: 2048
|
|
60
|
+
resizeAlgorithm: 0
|
|
61
|
+
textureFormat: -1
|
|
62
|
+
textureCompression: 1
|
|
63
|
+
compressionQuality: 50
|
|
64
|
+
crunchedCompression: 0
|
|
65
|
+
allowsAlphaSplitting: 0
|
|
66
|
+
overridden: 0
|
|
67
|
+
androidETC2FallbackOverride: 0
|
|
68
|
+
- buildTarget: Standalone
|
|
69
|
+
maxTextureSize: 2048
|
|
70
|
+
resizeAlgorithm: 0
|
|
71
|
+
textureFormat: -1
|
|
72
|
+
textureCompression: 1
|
|
73
|
+
compressionQuality: 50
|
|
74
|
+
crunchedCompression: 0
|
|
75
|
+
allowsAlphaSplitting: 0
|
|
76
|
+
overridden: 0
|
|
77
|
+
androidETC2FallbackOverride: 0
|
|
78
|
+
- buildTarget: Windows Store Apps
|
|
79
|
+
maxTextureSize: 2048
|
|
80
|
+
resizeAlgorithm: 0
|
|
81
|
+
textureFormat: -1
|
|
82
|
+
textureCompression: 1
|
|
83
|
+
compressionQuality: 50
|
|
84
|
+
crunchedCompression: 0
|
|
85
|
+
allowsAlphaSplitting: 0
|
|
86
|
+
overridden: 0
|
|
87
|
+
androidETC2FallbackOverride: 0
|
|
88
|
+
spriteSheet:
|
|
89
|
+
serializedVersion: 2
|
|
90
|
+
sprites: []
|
|
91
|
+
outline: []
|
|
92
|
+
physicsShape: []
|
|
93
|
+
spritePackingTag:
|
|
94
|
+
userData:
|
|
95
|
+
assetBundleName:
|
|
96
|
+
assetBundleVariant:
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!114 &-2004934280170259367
|
|
4
|
+
MonoBehaviour:
|
|
5
|
+
m_ObjectHideFlags: 0
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
m_GameObject: {fileID: 0}
|
|
10
|
+
m_Enabled: 1
|
|
11
|
+
m_EditorHideFlags: 0
|
|
12
|
+
m_Script: {fileID: 11500000, guid: 85d8cd2303af54543a4524493d539ae8, type: 3}
|
|
13
|
+
m_Name: Leaves
|
|
14
|
+
m_EditorClassIdentifier:
|
|
15
|
+
seed: 2016
|
|
16
|
+
id: -772002948
|
|
17
|
+
parent: {fileID: 5875211660659678655}
|
|
18
|
+
chiildren: []
|
|
19
|
+
enabled: 1
|
|
20
|
+
showDeleteButton: 1
|
|
21
|
+
rect:
|
|
22
|
+
serializedVersion: 2
|
|
23
|
+
x: 60
|
|
24
|
+
y: 68
|
|
25
|
+
width: 200
|
|
26
|
+
height: 37
|
|
27
|
+
deleteRect:
|
|
28
|
+
serializedVersion: 2
|
|
29
|
+
x: 230
|
|
30
|
+
y: 77
|
|
31
|
+
width: 18
|
|
32
|
+
height: 18
|
|
33
|
+
leafType: 5
|
|
34
|
+
number: 534
|
|
35
|
+
customLeafMesh: {fileID: 0}
|
|
36
|
+
maxRadius: 0.298
|
|
37
|
+
size: 2.34
|
|
38
|
+
overrideNormals: 1
|
|
39
|
+
minWeight: -0.807812
|
|
40
|
+
maxWeight: -0.24124599
|
|
41
|
+
length: 6.69
|
|
42
|
+
lengthCurve:
|
|
43
|
+
serializedVersion: 2
|
|
44
|
+
m_Curve: []
|
|
45
|
+
m_PreInfinity: 2
|
|
46
|
+
m_PostInfinity: 2
|
|
47
|
+
m_RotationOrder: 4
|
|
48
|
+
uLoops: 2
|
|
49
|
+
resolution: 0.78
|
|
50
|
+
gravityStrength: 1.78
|
|
51
|
+
--- !u!114 &11400000
|
|
52
|
+
MonoBehaviour:
|
|
53
|
+
m_ObjectHideFlags: 0
|
|
54
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
55
|
+
m_PrefabInstance: {fileID: 0}
|
|
56
|
+
m_PrefabAsset: {fileID: 0}
|
|
57
|
+
m_GameObject: {fileID: 0}
|
|
58
|
+
m_Enabled: 1
|
|
59
|
+
m_EditorHideFlags: 0
|
|
60
|
+
m_Script: {fileID: 11500000, guid: 58c179839cc7e1e4bb7fdb33c0866483, type: 3}
|
|
61
|
+
m_Name: Willow
|
|
62
|
+
m_EditorClassIdentifier:
|
|
63
|
+
treeFunctions:
|
|
64
|
+
- {fileID: 784268563730292289}
|
|
65
|
+
- {fileID: 5875211660659678655}
|
|
66
|
+
- {fileID: -2004934280170259367}
|
|
67
|
+
- {fileID: 5441184222151119389}
|
|
68
|
+
--- !u!114 &784268563730292289
|
|
69
|
+
MonoBehaviour:
|
|
70
|
+
m_ObjectHideFlags: 0
|
|
71
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
72
|
+
m_PrefabInstance: {fileID: 0}
|
|
73
|
+
m_PrefabAsset: {fileID: 0}
|
|
74
|
+
m_GameObject: {fileID: 0}
|
|
75
|
+
m_Enabled: 1
|
|
76
|
+
m_EditorHideFlags: 0
|
|
77
|
+
m_Script: {fileID: 11500000, guid: 156ba2a5f4fc7bf47b493b7cbf9c7f19, type: 3}
|
|
78
|
+
m_Name: Trunk
|
|
79
|
+
m_EditorClassIdentifier:
|
|
80
|
+
seed: 5207
|
|
81
|
+
id: -2119698227
|
|
82
|
+
parent: {fileID: 0}
|
|
83
|
+
chiildren:
|
|
84
|
+
- {fileID: 5875211660659678655}
|
|
85
|
+
- {fileID: 5441184222151119389}
|
|
86
|
+
enabled: 1
|
|
87
|
+
showDeleteButton: 0
|
|
88
|
+
rect:
|
|
89
|
+
serializedVersion: 2
|
|
90
|
+
x: 0
|
|
91
|
+
y: 0
|
|
92
|
+
width: 200
|
|
93
|
+
height: 37
|
|
94
|
+
deleteRect:
|
|
95
|
+
serializedVersion: 2
|
|
96
|
+
x: 0
|
|
97
|
+
y: 0
|
|
98
|
+
width: 0
|
|
99
|
+
height: 0
|
|
100
|
+
radiusMultiplier: 0.3
|
|
101
|
+
radius:
|
|
102
|
+
serializedVersion: 2
|
|
103
|
+
m_Curve:
|
|
104
|
+
- serializedVersion: 3
|
|
105
|
+
time: 0
|
|
106
|
+
value: 1
|
|
107
|
+
inSlope: 0
|
|
108
|
+
outSlope: 0
|
|
109
|
+
tangentMode: 0
|
|
110
|
+
weightedMode: 0
|
|
111
|
+
inWeight: 0.33333334
|
|
112
|
+
outWeight: 0.33333334
|
|
113
|
+
- serializedVersion: 3
|
|
114
|
+
time: 1
|
|
115
|
+
value: 0
|
|
116
|
+
inSlope: -1
|
|
117
|
+
outSlope: -1
|
|
118
|
+
tangentMode: 0
|
|
119
|
+
weightedMode: 0
|
|
120
|
+
inWeight: 0.33333334
|
|
121
|
+
outWeight: 0.33333334
|
|
122
|
+
m_PreInfinity: 2
|
|
123
|
+
m_PostInfinity: 2
|
|
124
|
+
m_RotationOrder: 4
|
|
125
|
+
length: 16.17
|
|
126
|
+
number: 1
|
|
127
|
+
randomness: 0.1
|
|
128
|
+
originAttraction: 0.1
|
|
129
|
+
resolution: 1.5
|
|
130
|
+
rootShape:
|
|
131
|
+
serializedVersion: 2
|
|
132
|
+
m_Curve:
|
|
133
|
+
- serializedVersion: 3
|
|
134
|
+
time: 0
|
|
135
|
+
value: 1.0028
|
|
136
|
+
inSlope: -4.8190355
|
|
137
|
+
outSlope: -4.8190355
|
|
138
|
+
tangentMode: 0
|
|
139
|
+
weightedMode: 0
|
|
140
|
+
inWeight: 0.33333334
|
|
141
|
+
outWeight: 0.33333334
|
|
142
|
+
- serializedVersion: 3
|
|
143
|
+
time: 1.0019531
|
|
144
|
+
value: 0
|
|
145
|
+
inSlope: -3.909884
|
|
146
|
+
outSlope: -3.909884
|
|
147
|
+
tangentMode: 0
|
|
148
|
+
weightedMode: 0
|
|
149
|
+
inWeight: 0.33333334
|
|
150
|
+
outWeight: 0.33333334
|
|
151
|
+
m_PreInfinity: 2
|
|
152
|
+
m_PostInfinity: 2
|
|
153
|
+
m_RotationOrder: 4
|
|
154
|
+
rootRadius: 1.488
|
|
155
|
+
rootInnerRadius: 0.289
|
|
156
|
+
rootHeight: 6.8
|
|
157
|
+
rootResolution: 3.27
|
|
158
|
+
flareNumber: 5
|
|
159
|
+
spinAmount: 1.17
|
|
160
|
+
displacementStrength: 1
|
|
161
|
+
displacementSize: 2.5
|
|
162
|
+
heightOffset: 0.5
|
|
163
|
+
--- !u!114 &5441184222151119389
|
|
164
|
+
MonoBehaviour:
|
|
165
|
+
m_ObjectHideFlags: 0
|
|
166
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
167
|
+
m_PrefabInstance: {fileID: 0}
|
|
168
|
+
m_PrefabAsset: {fileID: 0}
|
|
169
|
+
m_GameObject: {fileID: 0}
|
|
170
|
+
m_Enabled: 1
|
|
171
|
+
m_EditorHideFlags: 0
|
|
172
|
+
m_Script: {fileID: 11500000, guid: c81997976e05f6e45819b5dda33c654d, type: 3}
|
|
173
|
+
m_Name: Roots
|
|
174
|
+
m_EditorClassIdentifier:
|
|
175
|
+
seed: 8981
|
|
176
|
+
id: -1404949401
|
|
177
|
+
parent: {fileID: 784268563730292289}
|
|
178
|
+
chiildren: []
|
|
179
|
+
enabled: 1
|
|
180
|
+
showDeleteButton: 1
|
|
181
|
+
rect:
|
|
182
|
+
serializedVersion: 2
|
|
183
|
+
x: 30
|
|
184
|
+
y: 102
|
|
185
|
+
width: 200
|
|
186
|
+
height: 37
|
|
187
|
+
deleteRect:
|
|
188
|
+
serializedVersion: 2
|
|
189
|
+
x: 200
|
|
190
|
+
y: 111
|
|
191
|
+
width: 18
|
|
192
|
+
height: 18
|
|
193
|
+
length: 1.5
|
|
194
|
+
resolution: 3
|
|
195
|
+
number: 15
|
|
196
|
+
splitProba: 0.4
|
|
197
|
+
angle: 0.567
|
|
198
|
+
shape:
|
|
199
|
+
serializedVersion: 2
|
|
200
|
+
m_Curve:
|
|
201
|
+
- serializedVersion: 3
|
|
202
|
+
time: 0
|
|
203
|
+
value: 1
|
|
204
|
+
inSlope: -0.5160932
|
|
205
|
+
outSlope: -0.5160932
|
|
206
|
+
tangentMode: 0
|
|
207
|
+
weightedMode: 0
|
|
208
|
+
inWeight: 0
|
|
209
|
+
outWeight: 0.22566031
|
|
210
|
+
- serializedVersion: 3
|
|
211
|
+
time: 0.9416809
|
|
212
|
+
value: 0.58255005
|
|
213
|
+
inSlope: 0
|
|
214
|
+
outSlope: 0
|
|
215
|
+
tangentMode: 0
|
|
216
|
+
weightedMode: 0
|
|
217
|
+
inWeight: 0
|
|
218
|
+
outWeight: 0
|
|
219
|
+
m_PreInfinity: 2
|
|
220
|
+
m_PostInfinity: 2
|
|
221
|
+
m_RotationOrder: 4
|
|
222
|
+
splitProbaCurve:
|
|
223
|
+
serializedVersion: 2
|
|
224
|
+
m_Curve:
|
|
225
|
+
- serializedVersion: 3
|
|
226
|
+
time: 0
|
|
227
|
+
value: 0.5
|
|
228
|
+
inSlope: 0
|
|
229
|
+
outSlope: 0.5
|
|
230
|
+
tangentMode: 0
|
|
231
|
+
weightedMode: 0
|
|
232
|
+
inWeight: 0
|
|
233
|
+
outWeight: 0
|
|
234
|
+
- serializedVersion: 3
|
|
235
|
+
time: 1
|
|
236
|
+
value: 1
|
|
237
|
+
inSlope: 0.5
|
|
238
|
+
outSlope: 0
|
|
239
|
+
tangentMode: 0
|
|
240
|
+
weightedMode: 0
|
|
241
|
+
inWeight: 0
|
|
242
|
+
outWeight: 0
|
|
243
|
+
m_PreInfinity: 2
|
|
244
|
+
m_PostInfinity: 2
|
|
245
|
+
m_RotationOrder: 4
|
|
246
|
+
radius: 0.6
|
|
247
|
+
randomness: 0.328
|
|
248
|
+
start: 0.06
|
|
249
|
+
end: 0.7
|
|
250
|
+
groundHeight: 0
|
|
251
|
+
attractionStrength: 2.17
|
|
252
|
+
--- !u!114 &5875211660659678655
|
|
253
|
+
MonoBehaviour:
|
|
254
|
+
m_ObjectHideFlags: 0
|
|
255
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
256
|
+
m_PrefabInstance: {fileID: 0}
|
|
257
|
+
m_PrefabAsset: {fileID: 0}
|
|
258
|
+
m_GameObject: {fileID: 0}
|
|
259
|
+
m_Enabled: 1
|
|
260
|
+
m_EditorHideFlags: 0
|
|
261
|
+
m_Script: {fileID: 11500000, guid: 33897084c7891e54eb6df4c02cb4118d, type: 3}
|
|
262
|
+
m_Name: Branch
|
|
263
|
+
m_EditorClassIdentifier:
|
|
264
|
+
seed: 4469
|
|
265
|
+
id: 905857628
|
|
266
|
+
parent: {fileID: 784268563730292289}
|
|
267
|
+
chiildren:
|
|
268
|
+
- {fileID: -2004934280170259367}
|
|
269
|
+
enabled: 1
|
|
270
|
+
showDeleteButton: 1
|
|
271
|
+
rect:
|
|
272
|
+
serializedVersion: 2
|
|
273
|
+
x: 30
|
|
274
|
+
y: 34
|
|
275
|
+
width: 200
|
|
276
|
+
height: 37
|
|
277
|
+
deleteRect:
|
|
278
|
+
serializedVersion: 2
|
|
279
|
+
x: 200
|
|
280
|
+
y: 43
|
|
281
|
+
width: 18
|
|
282
|
+
height: 18
|
|
283
|
+
length: 8.85
|
|
284
|
+
lengthCurve:
|
|
285
|
+
serializedVersion: 2
|
|
286
|
+
m_Curve:
|
|
287
|
+
- serializedVersion: 3
|
|
288
|
+
time: 0
|
|
289
|
+
value: 1
|
|
290
|
+
inSlope: 0
|
|
291
|
+
outSlope: -0.19999999
|
|
292
|
+
tangentMode: 0
|
|
293
|
+
weightedMode: 0
|
|
294
|
+
inWeight: 0.33333334
|
|
295
|
+
outWeight: 0.33333334
|
|
296
|
+
- serializedVersion: 3
|
|
297
|
+
time: 1
|
|
298
|
+
value: 0.8
|
|
299
|
+
inSlope: -0.19999999
|
|
300
|
+
outSlope: 0
|
|
301
|
+
tangentMode: 0
|
|
302
|
+
weightedMode: 0
|
|
303
|
+
inWeight: 0.33333334
|
|
304
|
+
outWeight: 0.33333334
|
|
305
|
+
m_PreInfinity: 2
|
|
306
|
+
m_PostInfinity: 2
|
|
307
|
+
m_RotationOrder: 4
|
|
308
|
+
resolution: 0.81
|
|
309
|
+
number: 45
|
|
310
|
+
splitProba: 0.2
|
|
311
|
+
angle: 0.581
|
|
312
|
+
shape:
|
|
313
|
+
serializedVersion: 2
|
|
314
|
+
m_Curve:
|
|
315
|
+
- serializedVersion: 3
|
|
316
|
+
time: 0
|
|
317
|
+
value: 1
|
|
318
|
+
inSlope: 0
|
|
319
|
+
outSlope: -1
|
|
320
|
+
tangentMode: 0
|
|
321
|
+
weightedMode: 0
|
|
322
|
+
inWeight: 0.33333334
|
|
323
|
+
outWeight: 0.33333334
|
|
324
|
+
- serializedVersion: 3
|
|
325
|
+
time: 1
|
|
326
|
+
value: 0
|
|
327
|
+
inSlope: -1
|
|
328
|
+
outSlope: 0
|
|
329
|
+
tangentMode: 0
|
|
330
|
+
weightedMode: 0
|
|
331
|
+
inWeight: 0.33333334
|
|
332
|
+
outWeight: 0.33333334
|
|
333
|
+
m_PreInfinity: 2
|
|
334
|
+
m_PostInfinity: 2
|
|
335
|
+
m_RotationOrder: 4
|
|
336
|
+
splitProbaCurve:
|
|
337
|
+
serializedVersion: 2
|
|
338
|
+
m_Curve:
|
|
339
|
+
- serializedVersion: 3
|
|
340
|
+
time: 0
|
|
341
|
+
value: 0.5
|
|
342
|
+
inSlope: 0
|
|
343
|
+
outSlope: 0.5
|
|
344
|
+
tangentMode: 0
|
|
345
|
+
weightedMode: 0
|
|
346
|
+
inWeight: 0.33333334
|
|
347
|
+
outWeight: 0.33333334
|
|
348
|
+
- serializedVersion: 3
|
|
349
|
+
time: 1
|
|
350
|
+
value: 1
|
|
351
|
+
inSlope: 0.5
|
|
352
|
+
outSlope: 0
|
|
353
|
+
tangentMode: 0
|
|
354
|
+
weightedMode: 0
|
|
355
|
+
inWeight: 0.33333334
|
|
356
|
+
outWeight: 0.33333334
|
|
357
|
+
m_PreInfinity: 2
|
|
358
|
+
m_PostInfinity: 2
|
|
359
|
+
m_RotationOrder: 4
|
|
360
|
+
radius: 0.7
|
|
361
|
+
randomness: 0.3
|
|
362
|
+
upAttraction: 0.7
|
|
363
|
+
start: 0.277
|
|
364
|
+
gravityStrength: 1.44
|