A class that can generate trees procedurally.
A mesh based procedural tree generator class.
Returns the mesh data as an Array. It will have up to 2 Arrays inside. Those contain the actual data which can be added as surfaces to an another mesh.
Creates and return an equivalent ArrayMesh.
A custom AABB can be set with this property.
Whether to enable the branches mesh.
Whenther to enable the twigs mesh.
Whether to flip the branch mesh's faces.
Whether to flip the twig mesh's faces.
The seed for the random number generator.
The material of the twigs.
The scale of the twigs.
The tree trunk's surface id.
The tree twig's surface id.
How many surfaces the class holds.