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,309 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!114 &-5960634288120539563
|
|
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: 9453
|
|
16
|
+
id: 1084179600
|
|
17
|
+
parent: {fileID: 2925419065421078400}
|
|
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: 0
|
|
34
|
+
number: 400
|
|
35
|
+
customLeafMesh: {fileID: 0}
|
|
36
|
+
maxRadius: 1
|
|
37
|
+
size: 1.78
|
|
38
|
+
overrideNormals: 1
|
|
39
|
+
minWeight: -0.91408116
|
|
40
|
+
maxWeight: -0.70588446
|
|
41
|
+
length: 2
|
|
42
|
+
lengthCurve:
|
|
43
|
+
serializedVersion: 2
|
|
44
|
+
m_Curve:
|
|
45
|
+
- serializedVersion: 3
|
|
46
|
+
time: 0
|
|
47
|
+
value: 1
|
|
48
|
+
inSlope: 0
|
|
49
|
+
outSlope: -0.5
|
|
50
|
+
tangentMode: 0
|
|
51
|
+
weightedMode: 0
|
|
52
|
+
inWeight: 0.33333334
|
|
53
|
+
outWeight: 0.33333334
|
|
54
|
+
- serializedVersion: 3
|
|
55
|
+
time: 1
|
|
56
|
+
value: 0.5
|
|
57
|
+
inSlope: -0.5
|
|
58
|
+
outSlope: 0
|
|
59
|
+
tangentMode: 0
|
|
60
|
+
weightedMode: 0
|
|
61
|
+
inWeight: 0.33333334
|
|
62
|
+
outWeight: 0.33333334
|
|
63
|
+
m_PreInfinity: 2
|
|
64
|
+
m_PostInfinity: 2
|
|
65
|
+
m_RotationOrder: 4
|
|
66
|
+
uLoops: 2
|
|
67
|
+
resolution: 1
|
|
68
|
+
gravityStrength: 1
|
|
69
|
+
--- !u!114 &11400000
|
|
70
|
+
MonoBehaviour:
|
|
71
|
+
m_ObjectHideFlags: 0
|
|
72
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
73
|
+
m_PrefabInstance: {fileID: 0}
|
|
74
|
+
m_PrefabAsset: {fileID: 0}
|
|
75
|
+
m_GameObject: {fileID: 0}
|
|
76
|
+
m_Enabled: 1
|
|
77
|
+
m_EditorHideFlags: 0
|
|
78
|
+
m_Script: {fileID: 11500000, guid: 58c179839cc7e1e4bb7fdb33c0866483, type: 3}
|
|
79
|
+
m_Name: Poplar
|
|
80
|
+
m_EditorClassIdentifier:
|
|
81
|
+
treeFunctions:
|
|
82
|
+
- {fileID: 659469720986710474}
|
|
83
|
+
- {fileID: 2925419065421078400}
|
|
84
|
+
- {fileID: -5960634288120539563}
|
|
85
|
+
--- !u!114 &659469720986710474
|
|
86
|
+
MonoBehaviour:
|
|
87
|
+
m_ObjectHideFlags: 0
|
|
88
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
89
|
+
m_PrefabInstance: {fileID: 0}
|
|
90
|
+
m_PrefabAsset: {fileID: 0}
|
|
91
|
+
m_GameObject: {fileID: 0}
|
|
92
|
+
m_Enabled: 1
|
|
93
|
+
m_EditorHideFlags: 0
|
|
94
|
+
m_Script: {fileID: 11500000, guid: 156ba2a5f4fc7bf47b493b7cbf9c7f19, type: 3}
|
|
95
|
+
m_Name: Trunk
|
|
96
|
+
m_EditorClassIdentifier:
|
|
97
|
+
seed: 7226
|
|
98
|
+
id: -1653236897
|
|
99
|
+
parent: {fileID: 0}
|
|
100
|
+
chiildren:
|
|
101
|
+
- {fileID: 2925419065421078400}
|
|
102
|
+
enabled: 1
|
|
103
|
+
showDeleteButton: 0
|
|
104
|
+
rect:
|
|
105
|
+
serializedVersion: 2
|
|
106
|
+
x: 0
|
|
107
|
+
y: 0
|
|
108
|
+
width: 200
|
|
109
|
+
height: 37
|
|
110
|
+
deleteRect:
|
|
111
|
+
serializedVersion: 2
|
|
112
|
+
x: 0
|
|
113
|
+
y: 0
|
|
114
|
+
width: 0
|
|
115
|
+
height: 0
|
|
116
|
+
radiusMultiplier: 0.25
|
|
117
|
+
radius:
|
|
118
|
+
serializedVersion: 2
|
|
119
|
+
m_Curve:
|
|
120
|
+
- serializedVersion: 3
|
|
121
|
+
time: 0
|
|
122
|
+
value: 1
|
|
123
|
+
inSlope: -1.0429686
|
|
124
|
+
outSlope: -1.0429686
|
|
125
|
+
tangentMode: 0
|
|
126
|
+
weightedMode: 0
|
|
127
|
+
inWeight: 0.33333334
|
|
128
|
+
outWeight: 0.33333334
|
|
129
|
+
- serializedVersion: 3
|
|
130
|
+
time: 0.9721247
|
|
131
|
+
value: 0.5039699
|
|
132
|
+
inSlope: -0.5195113
|
|
133
|
+
outSlope: -0.5195113
|
|
134
|
+
tangentMode: 0
|
|
135
|
+
weightedMode: 0
|
|
136
|
+
inWeight: 0.33333334
|
|
137
|
+
outWeight: 0.33333334
|
|
138
|
+
m_PreInfinity: 2
|
|
139
|
+
m_PostInfinity: 2
|
|
140
|
+
m_RotationOrder: 4
|
|
141
|
+
length: 22.93
|
|
142
|
+
number: 1
|
|
143
|
+
randomness: 0.011
|
|
144
|
+
originAttraction: 0.075
|
|
145
|
+
resolution: 1.03
|
|
146
|
+
rootShape:
|
|
147
|
+
serializedVersion: 2
|
|
148
|
+
m_Curve:
|
|
149
|
+
- serializedVersion: 3
|
|
150
|
+
time: 0
|
|
151
|
+
value: 1
|
|
152
|
+
inSlope: -2
|
|
153
|
+
outSlope: -2
|
|
154
|
+
tangentMode: 0
|
|
155
|
+
weightedMode: 0
|
|
156
|
+
inWeight: 0.33333334
|
|
157
|
+
outWeight: 0.33333334
|
|
158
|
+
- serializedVersion: 3
|
|
159
|
+
time: 1
|
|
160
|
+
value: 0
|
|
161
|
+
inSlope: 0
|
|
162
|
+
outSlope: 0
|
|
163
|
+
tangentMode: 0
|
|
164
|
+
weightedMode: 0
|
|
165
|
+
inWeight: 0.33333334
|
|
166
|
+
outWeight: 0.33333334
|
|
167
|
+
m_PreInfinity: 2
|
|
168
|
+
m_PostInfinity: 2
|
|
169
|
+
m_RotationOrder: 4
|
|
170
|
+
rootRadius: 1.391
|
|
171
|
+
rootInnerRadius: 0.584
|
|
172
|
+
rootHeight: 0.84
|
|
173
|
+
rootResolution: 2
|
|
174
|
+
flareNumber: 5
|
|
175
|
+
spinAmount: 1.49
|
|
176
|
+
displacementStrength: 0.42
|
|
177
|
+
displacementSize: 3.03
|
|
178
|
+
heightOffset: 0.5
|
|
179
|
+
--- !u!114 &2925419065421078400
|
|
180
|
+
MonoBehaviour:
|
|
181
|
+
m_ObjectHideFlags: 0
|
|
182
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
183
|
+
m_PrefabInstance: {fileID: 0}
|
|
184
|
+
m_PrefabAsset: {fileID: 0}
|
|
185
|
+
m_GameObject: {fileID: 0}
|
|
186
|
+
m_Enabled: 1
|
|
187
|
+
m_EditorHideFlags: 0
|
|
188
|
+
m_Script: {fileID: 11500000, guid: 33897084c7891e54eb6df4c02cb4118d, type: 3}
|
|
189
|
+
m_Name: Branch
|
|
190
|
+
m_EditorClassIdentifier:
|
|
191
|
+
seed: 6563
|
|
192
|
+
id: 976047011
|
|
193
|
+
parent: {fileID: 659469720986710474}
|
|
194
|
+
chiildren:
|
|
195
|
+
- {fileID: -5960634288120539563}
|
|
196
|
+
enabled: 1
|
|
197
|
+
showDeleteButton: 1
|
|
198
|
+
rect:
|
|
199
|
+
serializedVersion: 2
|
|
200
|
+
x: 30
|
|
201
|
+
y: 34
|
|
202
|
+
width: 200
|
|
203
|
+
height: 37
|
|
204
|
+
deleteRect:
|
|
205
|
+
serializedVersion: 2
|
|
206
|
+
x: 200
|
|
207
|
+
y: 43
|
|
208
|
+
width: 18
|
|
209
|
+
height: 18
|
|
210
|
+
length: 4.62
|
|
211
|
+
lengthCurve:
|
|
212
|
+
serializedVersion: 2
|
|
213
|
+
m_Curve:
|
|
214
|
+
- serializedVersion: 3
|
|
215
|
+
time: 0
|
|
216
|
+
value: 1
|
|
217
|
+
inSlope: 0
|
|
218
|
+
outSlope: 0
|
|
219
|
+
tangentMode: 0
|
|
220
|
+
weightedMode: 0
|
|
221
|
+
inWeight: 0.33333334
|
|
222
|
+
outWeight: 0.33333334
|
|
223
|
+
- serializedVersion: 3
|
|
224
|
+
time: 0.6370481
|
|
225
|
+
value: 0.9576189
|
|
226
|
+
inSlope: -0.24579883
|
|
227
|
+
outSlope: -0.24579883
|
|
228
|
+
tangentMode: 0
|
|
229
|
+
weightedMode: 0
|
|
230
|
+
inWeight: 0.33333334
|
|
231
|
+
outWeight: 0.33333334
|
|
232
|
+
- serializedVersion: 3
|
|
233
|
+
time: 1
|
|
234
|
+
value: 0.8
|
|
235
|
+
inSlope: -0.19999999
|
|
236
|
+
outSlope: -0.19999999
|
|
237
|
+
tangentMode: 0
|
|
238
|
+
weightedMode: 0
|
|
239
|
+
inWeight: 0.33333334
|
|
240
|
+
outWeight: 0.33333334
|
|
241
|
+
m_PreInfinity: 2
|
|
242
|
+
m_PostInfinity: 2
|
|
243
|
+
m_RotationOrder: 4
|
|
244
|
+
resolution: 0.75
|
|
245
|
+
number: 40
|
|
246
|
+
splitProba: 0.73
|
|
247
|
+
angle: 0.546
|
|
248
|
+
shape:
|
|
249
|
+
serializedVersion: 2
|
|
250
|
+
m_Curve:
|
|
251
|
+
- serializedVersion: 3
|
|
252
|
+
time: 0
|
|
253
|
+
value: 1
|
|
254
|
+
inSlope: 0
|
|
255
|
+
outSlope: 0
|
|
256
|
+
tangentMode: 0
|
|
257
|
+
weightedMode: 0
|
|
258
|
+
inWeight: 0.33333334
|
|
259
|
+
outWeight: 0.33333334
|
|
260
|
+
- serializedVersion: 3
|
|
261
|
+
time: 0.6502751
|
|
262
|
+
value: 0.6217691
|
|
263
|
+
inSlope: -1.4935751
|
|
264
|
+
outSlope: -1.4935751
|
|
265
|
+
tangentMode: 0
|
|
266
|
+
weightedMode: 0
|
|
267
|
+
inWeight: 0.33333334
|
|
268
|
+
outWeight: 0.33333334
|
|
269
|
+
- serializedVersion: 3
|
|
270
|
+
time: 1
|
|
271
|
+
value: 0
|
|
272
|
+
inSlope: 0
|
|
273
|
+
outSlope: 0
|
|
274
|
+
tangentMode: 0
|
|
275
|
+
weightedMode: 0
|
|
276
|
+
inWeight: 0.33333334
|
|
277
|
+
outWeight: 0.33333334
|
|
278
|
+
m_PreInfinity: 2
|
|
279
|
+
m_PostInfinity: 2
|
|
280
|
+
m_RotationOrder: 4
|
|
281
|
+
splitProbaCurve:
|
|
282
|
+
serializedVersion: 2
|
|
283
|
+
m_Curve:
|
|
284
|
+
- serializedVersion: 3
|
|
285
|
+
time: 0
|
|
286
|
+
value: 0.5
|
|
287
|
+
inSlope: 0
|
|
288
|
+
outSlope: 0.5
|
|
289
|
+
tangentMode: 0
|
|
290
|
+
weightedMode: 0
|
|
291
|
+
inWeight: 0.33333334
|
|
292
|
+
outWeight: 0.33333334
|
|
293
|
+
- serializedVersion: 3
|
|
294
|
+
time: 1
|
|
295
|
+
value: 1
|
|
296
|
+
inSlope: 0.5
|
|
297
|
+
outSlope: 0
|
|
298
|
+
tangentMode: 0
|
|
299
|
+
weightedMode: 0
|
|
300
|
+
inWeight: 0.33333334
|
|
301
|
+
outWeight: 0.33333334
|
|
302
|
+
m_PreInfinity: 2
|
|
303
|
+
m_PostInfinity: 2
|
|
304
|
+
m_RotationOrder: 4
|
|
305
|
+
radius: 0.356
|
|
306
|
+
randomness: 0.495
|
|
307
|
+
upAttraction: 0.5
|
|
308
|
+
start: 0.083
|
|
309
|
+
gravityStrength: -8.86
|
|
Binary file
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: fd876adad76484c4084737bef4dffc96
|
|
3
|
+
TextureImporter:
|
|
4
|
+
internalIDToNameTable: []
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
serializedVersion: 13
|
|
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
|
+
flipGreenChannel: 0
|
|
24
|
+
isReadable: 0
|
|
25
|
+
streamingMipmaps: 0
|
|
26
|
+
streamingMipmapsPriority: 0
|
|
27
|
+
vTOnly: 0
|
|
28
|
+
ignoreMipmapLimit: 0
|
|
29
|
+
grayScaleToAlpha: 0
|
|
30
|
+
generateCubemap: 6
|
|
31
|
+
cubemapConvolution: 1
|
|
32
|
+
seamlessCubemap: 1
|
|
33
|
+
textureFormat: 1
|
|
34
|
+
maxTextureSize: 2048
|
|
35
|
+
textureSettings:
|
|
36
|
+
serializedVersion: 2
|
|
37
|
+
filterMode: 2
|
|
38
|
+
aniso: 0
|
|
39
|
+
mipBias: 0
|
|
40
|
+
wrapU: 1
|
|
41
|
+
wrapV: 1
|
|
42
|
+
wrapW: 1
|
|
43
|
+
nPOTScale: 1
|
|
44
|
+
lightmap: 0
|
|
45
|
+
compressionQuality: 50
|
|
46
|
+
spriteMode: 0
|
|
47
|
+
spriteExtrude: 1
|
|
48
|
+
spriteMeshType: 1
|
|
49
|
+
alignment: 0
|
|
50
|
+
spritePivot: {x: 0.5, y: 0.5}
|
|
51
|
+
spritePixelsToUnits: 100
|
|
52
|
+
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
|
53
|
+
spriteGenerateFallbackPhysicsShape: 1
|
|
54
|
+
alphaUsage: 1
|
|
55
|
+
alphaIsTransparency: 0
|
|
56
|
+
spriteTessellationDetail: -1
|
|
57
|
+
textureType: 0
|
|
58
|
+
textureShape: 2
|
|
59
|
+
singleChannelComponent: 0
|
|
60
|
+
flipbookRows: 1
|
|
61
|
+
flipbookColumns: 1
|
|
62
|
+
maxTextureSizeSet: 0
|
|
63
|
+
compressionQualitySet: 0
|
|
64
|
+
textureFormatSet: 0
|
|
65
|
+
ignorePngGamma: 0
|
|
66
|
+
applyGammaDecoding: 0
|
|
67
|
+
swizzle: 50462976
|
|
68
|
+
cookieLightType: 0
|
|
69
|
+
platformSettings:
|
|
70
|
+
- serializedVersion: 4
|
|
71
|
+
buildTarget: DefaultTexturePlatform
|
|
72
|
+
maxTextureSize: 2048
|
|
73
|
+
resizeAlgorithm: 0
|
|
74
|
+
textureFormat: -1
|
|
75
|
+
textureCompression: 1
|
|
76
|
+
compressionQuality: 100
|
|
77
|
+
crunchedCompression: 0
|
|
78
|
+
allowsAlphaSplitting: 0
|
|
79
|
+
overridden: 0
|
|
80
|
+
ignorePlatformSupport: 0
|
|
81
|
+
androidETC2FallbackOverride: 0
|
|
82
|
+
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
83
|
+
- serializedVersion: 4
|
|
84
|
+
buildTarget: Standalone
|
|
85
|
+
maxTextureSize: 2048
|
|
86
|
+
resizeAlgorithm: 0
|
|
87
|
+
textureFormat: -1
|
|
88
|
+
textureCompression: 1
|
|
89
|
+
compressionQuality: 50
|
|
90
|
+
crunchedCompression: 0
|
|
91
|
+
allowsAlphaSplitting: 0
|
|
92
|
+
overridden: 0
|
|
93
|
+
ignorePlatformSupport: 0
|
|
94
|
+
androidETC2FallbackOverride: 0
|
|
95
|
+
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
96
|
+
spriteSheet:
|
|
97
|
+
serializedVersion: 2
|
|
98
|
+
sprites: []
|
|
99
|
+
outline: []
|
|
100
|
+
customData:
|
|
101
|
+
physicsShape: []
|
|
102
|
+
bones: []
|
|
103
|
+
spriteID:
|
|
104
|
+
internalID: 0
|
|
105
|
+
vertices: []
|
|
106
|
+
indices:
|
|
107
|
+
edges: []
|
|
108
|
+
weights: []
|
|
109
|
+
secondaryTextures: []
|
|
110
|
+
spriteCustomMetadata:
|
|
111
|
+
entries: []
|
|
112
|
+
nameFileIdTable: {}
|
|
113
|
+
mipmapLimitGroupName:
|
|
114
|
+
pSDRemoveMatte: 0
|
|
115
|
+
userData:
|
|
116
|
+
assetBundleName:
|
|
117
|
+
assetBundleVariant:
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!114 &-2907932139224187498
|
|
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: 156ba2a5f4fc7bf47b493b7cbf9c7f19, type: 3}
|
|
13
|
+
m_Name: Trunk
|
|
14
|
+
m_EditorClassIdentifier:
|
|
15
|
+
seed: 978
|
|
16
|
+
id: 1463915158
|
|
17
|
+
parent: {fileID: 0}
|
|
18
|
+
chiildren:
|
|
19
|
+
- {fileID: 7915131989807106045}
|
|
20
|
+
enabled: 1
|
|
21
|
+
showDeleteButton: 0
|
|
22
|
+
rect:
|
|
23
|
+
serializedVersion: 2
|
|
24
|
+
x: 0
|
|
25
|
+
y: 0
|
|
26
|
+
width: 200
|
|
27
|
+
height: 37
|
|
28
|
+
deleteRect:
|
|
29
|
+
serializedVersion: 2
|
|
30
|
+
x: 0
|
|
31
|
+
y: 0
|
|
32
|
+
width: 0
|
|
33
|
+
height: 0
|
|
34
|
+
radiusMultiplier: 0.07
|
|
35
|
+
radius:
|
|
36
|
+
serializedVersion: 2
|
|
37
|
+
m_Curve:
|
|
38
|
+
- serializedVersion: 3
|
|
39
|
+
time: 0
|
|
40
|
+
value: 1
|
|
41
|
+
inSlope: 0
|
|
42
|
+
outSlope: 0
|
|
43
|
+
tangentMode: 0
|
|
44
|
+
weightedMode: 0
|
|
45
|
+
inWeight: 0.33333334
|
|
46
|
+
outWeight: 0.33333334
|
|
47
|
+
- serializedVersion: 3
|
|
48
|
+
time: 1
|
|
49
|
+
value: 0
|
|
50
|
+
inSlope: -1
|
|
51
|
+
outSlope: -1
|
|
52
|
+
tangentMode: 0
|
|
53
|
+
weightedMode: 0
|
|
54
|
+
inWeight: 0.33333334
|
|
55
|
+
outWeight: 0.33333334
|
|
56
|
+
m_PreInfinity: 2
|
|
57
|
+
m_PostInfinity: 2
|
|
58
|
+
m_RotationOrder: 4
|
|
59
|
+
length: 4.27
|
|
60
|
+
number: 1
|
|
61
|
+
randomness: 0.06
|
|
62
|
+
originAttraction: 0.1
|
|
63
|
+
resolution: 3.77
|
|
64
|
+
rootShape:
|
|
65
|
+
serializedVersion: 2
|
|
66
|
+
m_Curve:
|
|
67
|
+
- serializedVersion: 3
|
|
68
|
+
time: 0
|
|
69
|
+
value: 1
|
|
70
|
+
inSlope: -2
|
|
71
|
+
outSlope: -2
|
|
72
|
+
tangentMode: 0
|
|
73
|
+
weightedMode: 0
|
|
74
|
+
inWeight: 0.33333334
|
|
75
|
+
outWeight: 0.33333334
|
|
76
|
+
- serializedVersion: 3
|
|
77
|
+
time: 1
|
|
78
|
+
value: 0
|
|
79
|
+
inSlope: 0
|
|
80
|
+
outSlope: 0
|
|
81
|
+
tangentMode: 0
|
|
82
|
+
weightedMode: 0
|
|
83
|
+
inWeight: 0.33333334
|
|
84
|
+
outWeight: 0.33333334
|
|
85
|
+
m_PreInfinity: 2
|
|
86
|
+
m_PostInfinity: 2
|
|
87
|
+
m_RotationOrder: 4
|
|
88
|
+
rootRadius: 0.259
|
|
89
|
+
rootInnerRadius: 0
|
|
90
|
+
rootHeight: 1
|
|
91
|
+
rootResolution: 3
|
|
92
|
+
flareNumber: 5
|
|
93
|
+
spinAmount: 0.1
|
|
94
|
+
displacementStrength: 0.36
|
|
95
|
+
displacementSize: 1.74
|
|
96
|
+
heightOffset: 0.24
|
|
97
|
+
--- !u!114 &11400000
|
|
98
|
+
MonoBehaviour:
|
|
99
|
+
m_ObjectHideFlags: 0
|
|
100
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
101
|
+
m_PrefabInstance: {fileID: 0}
|
|
102
|
+
m_PrefabAsset: {fileID: 0}
|
|
103
|
+
m_GameObject: {fileID: 0}
|
|
104
|
+
m_Enabled: 1
|
|
105
|
+
m_EditorHideFlags: 0
|
|
106
|
+
m_Script: {fileID: 11500000, guid: 58c179839cc7e1e4bb7fdb33c0866483, type: 3}
|
|
107
|
+
m_Name: Small Pine
|
|
108
|
+
m_EditorClassIdentifier:
|
|
109
|
+
treeFunctions:
|
|
110
|
+
- {fileID: -2907932139224187498}
|
|
111
|
+
- {fileID: 7915131989807106045}
|
|
112
|
+
- {fileID: 1849870775497955298}
|
|
113
|
+
--- !u!114 &1849870775497955298
|
|
114
|
+
MonoBehaviour:
|
|
115
|
+
m_ObjectHideFlags: 0
|
|
116
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
117
|
+
m_PrefabInstance: {fileID: 0}
|
|
118
|
+
m_PrefabAsset: {fileID: 0}
|
|
119
|
+
m_GameObject: {fileID: 0}
|
|
120
|
+
m_Enabled: 1
|
|
121
|
+
m_EditorHideFlags: 0
|
|
122
|
+
m_Script: {fileID: 11500000, guid: 85d8cd2303af54543a4524493d539ae8, type: 3}
|
|
123
|
+
m_Name: Leaves
|
|
124
|
+
m_EditorClassIdentifier:
|
|
125
|
+
seed: 704
|
|
126
|
+
id: 1744762626
|
|
127
|
+
parent: {fileID: 7915131989807106045}
|
|
128
|
+
chiildren: []
|
|
129
|
+
enabled: 1
|
|
130
|
+
showDeleteButton: 1
|
|
131
|
+
rect:
|
|
132
|
+
serializedVersion: 2
|
|
133
|
+
x: 60
|
|
134
|
+
y: 68
|
|
135
|
+
width: 200
|
|
136
|
+
height: 37
|
|
137
|
+
deleteRect:
|
|
138
|
+
serializedVersion: 2
|
|
139
|
+
x: 230
|
|
140
|
+
y: 77
|
|
141
|
+
width: 18
|
|
142
|
+
height: 18
|
|
143
|
+
leafType: 4
|
|
144
|
+
number: 249
|
|
145
|
+
customLeafMesh: {fileID: 0}
|
|
146
|
+
maxRadius: 0.357
|
|
147
|
+
size: 0.55
|
|
148
|
+
overrideNormals: 1
|
|
149
|
+
minWeight: 0.13145065
|
|
150
|
+
maxWeight: 0.39177728
|
|
151
|
+
length: 0
|
|
152
|
+
lengthCurve:
|
|
153
|
+
serializedVersion: 2
|
|
154
|
+
m_Curve: []
|
|
155
|
+
m_PreInfinity: 2
|
|
156
|
+
m_PostInfinity: 2
|
|
157
|
+
m_RotationOrder: 4
|
|
158
|
+
uLoops: 0
|
|
159
|
+
resolution: 0
|
|
160
|
+
gravityStrength: 0
|
|
161
|
+
--- !u!114 &7915131989807106045
|
|
162
|
+
MonoBehaviour:
|
|
163
|
+
m_ObjectHideFlags: 0
|
|
164
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
165
|
+
m_PrefabInstance: {fileID: 0}
|
|
166
|
+
m_PrefabAsset: {fileID: 0}
|
|
167
|
+
m_GameObject: {fileID: 0}
|
|
168
|
+
m_Enabled: 1
|
|
169
|
+
m_EditorHideFlags: 0
|
|
170
|
+
m_Script: {fileID: 11500000, guid: 33897084c7891e54eb6df4c02cb4118d, type: 3}
|
|
171
|
+
m_Name: Branch
|
|
172
|
+
m_EditorClassIdentifier:
|
|
173
|
+
seed: 5568
|
|
174
|
+
id: -1469166472
|
|
175
|
+
parent: {fileID: -2907932139224187498}
|
|
176
|
+
chiildren:
|
|
177
|
+
- {fileID: 1849870775497955298}
|
|
178
|
+
enabled: 1
|
|
179
|
+
showDeleteButton: 1
|
|
180
|
+
rect:
|
|
181
|
+
serializedVersion: 2
|
|
182
|
+
x: 30
|
|
183
|
+
y: 34
|
|
184
|
+
width: 200
|
|
185
|
+
height: 37
|
|
186
|
+
deleteRect:
|
|
187
|
+
serializedVersion: 2
|
|
188
|
+
x: 200
|
|
189
|
+
y: 43
|
|
190
|
+
width: 18
|
|
191
|
+
height: 18
|
|
192
|
+
length: 1.22
|
|
193
|
+
lengthCurve:
|
|
194
|
+
serializedVersion: 2
|
|
195
|
+
m_Curve:
|
|
196
|
+
- serializedVersion: 3
|
|
197
|
+
time: 0
|
|
198
|
+
value: 1
|
|
199
|
+
inSlope: -2.2540553
|
|
200
|
+
outSlope: -2.2540553
|
|
201
|
+
tangentMode: 0
|
|
202
|
+
weightedMode: 0
|
|
203
|
+
inWeight: 0.33333334
|
|
204
|
+
outWeight: 0.33333334
|
|
205
|
+
- serializedVersion: 3
|
|
206
|
+
time: 0.9301147
|
|
207
|
+
value: 0.08326945
|
|
208
|
+
inSlope: -0.2516133
|
|
209
|
+
outSlope: -0.2516133
|
|
210
|
+
tangentMode: 0
|
|
211
|
+
weightedMode: 0
|
|
212
|
+
inWeight: 0.33333334
|
|
213
|
+
outWeight: 0.33333334
|
|
214
|
+
m_PreInfinity: 2
|
|
215
|
+
m_PostInfinity: 2
|
|
216
|
+
m_RotationOrder: 4
|
|
217
|
+
resolution: 4.78
|
|
218
|
+
number: 66
|
|
219
|
+
splitProba: 0.52
|
|
220
|
+
angle: 1.048
|
|
221
|
+
shape:
|
|
222
|
+
serializedVersion: 2
|
|
223
|
+
m_Curve:
|
|
224
|
+
- serializedVersion: 3
|
|
225
|
+
time: 0
|
|
226
|
+
value: 1
|
|
227
|
+
inSlope: 0
|
|
228
|
+
outSlope: -1
|
|
229
|
+
tangentMode: 0
|
|
230
|
+
weightedMode: 0
|
|
231
|
+
inWeight: 0.33333334
|
|
232
|
+
outWeight: 0.33333334
|
|
233
|
+
- serializedVersion: 3
|
|
234
|
+
time: 1
|
|
235
|
+
value: 0
|
|
236
|
+
inSlope: -1
|
|
237
|
+
outSlope: 0
|
|
238
|
+
tangentMode: 0
|
|
239
|
+
weightedMode: 0
|
|
240
|
+
inWeight: 0.33333334
|
|
241
|
+
outWeight: 0.33333334
|
|
242
|
+
m_PreInfinity: 2
|
|
243
|
+
m_PostInfinity: 2
|
|
244
|
+
m_RotationOrder: 4
|
|
245
|
+
splitProbaCurve:
|
|
246
|
+
serializedVersion: 2
|
|
247
|
+
m_Curve:
|
|
248
|
+
- serializedVersion: 3
|
|
249
|
+
time: 0
|
|
250
|
+
value: 0.5
|
|
251
|
+
inSlope: 0
|
|
252
|
+
outSlope: 0.5
|
|
253
|
+
tangentMode: 0
|
|
254
|
+
weightedMode: 0
|
|
255
|
+
inWeight: 0.33333334
|
|
256
|
+
outWeight: 0.33333334
|
|
257
|
+
- serializedVersion: 3
|
|
258
|
+
time: 1
|
|
259
|
+
value: 1
|
|
260
|
+
inSlope: 0.5
|
|
261
|
+
outSlope: 0
|
|
262
|
+
tangentMode: 0
|
|
263
|
+
weightedMode: 0
|
|
264
|
+
inWeight: 0.33333334
|
|
265
|
+
outWeight: 0.33333334
|
|
266
|
+
m_PreInfinity: 2
|
|
267
|
+
m_PostInfinity: 2
|
|
268
|
+
m_RotationOrder: 4
|
|
269
|
+
radius: 0.3
|
|
270
|
+
randomness: 0.109
|
|
271
|
+
upAttraction: 0.097
|
|
272
|
+
start: 0.162
|
|
273
|
+
gravityStrength: 0
|