Procedural Hexagon Grid Framework
 All Classes Namespaces Functions
PHG.Trees Class Reference

Class for tree mesh building. More...

Public Member Functions

 Trees (float scale)
 Builds the tree meshes.
 

Static Public Member Functions

static void ColorizeTreeMesh (Mesh mesh, Color32 trunkColor, Color32 topColor)
 Colorizes tree mesh with random variance between fist and second colors.
 

Public Attributes

Mesh squarePineTreeSmall
 
Mesh squarePineTreeMedium
 
Mesh squarePineTreeLarge
 
Mesh squarePineTreeVeryLarge
 
Mesh squarePineTreeExtraLarge
 
Mesh squareHardwoodTreeSmall
 
Mesh squareHardwoodTreeMedium
 
Mesh squareHardwoodTreeLarge
 
Mesh squareHardwoodTreeVeryLarge
 
Mesh squareHardwoodTreeExtraLarge
 
Mesh hexagonPineTreeSmall
 
Mesh hexagonPineTreeMedium
 
Mesh hexagonPineTreeLarge
 
Mesh hexagonPineTreeVeryLarge
 
Mesh hexagonPineTreeExtraLarge
 
Mesh hexagonHardwoodTreeSmall
 
Mesh hexagonHardwoodTreeMedium
 
Mesh hexagonHardwoodTreeLarge
 
Mesh hexagonHardwoodTreeVeryLarge
 
Mesh hexagonHardwoodTreeExtraLarge
 
Color32 trunkColor = new Color32(200,100,70,0)
 
Color32 topColor = new Color32(50,140,50,0)
 

Detailed Description

Class for tree mesh building.


The documentation for this class was generated from the following file: