Skip to content

mattatz/unity-procedural-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unity-procedural-tree

Procedural tree builder for Unity.

Demo

Usage

TreeData class has properties of ProceduralTree.

TreeData

Setup a TreeData instance and pass it to ProceduralTree.Build function.

// Setup TreeData for properties of ProceduralTree
TreeData data = new TreeData();
// data.randomSeed = 100;
// data.branchesMin = 1; data.branchesMax = 3;

Mesh mesh = ProceduralTree.Build(
    data,
    6, // generations of a tree
    1.5f, // base height of a tree
    0.15f // base radius of a tree
);

About

Procedural tree builder for Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy