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

Class for building and updating CellObjects' outlines. More...

Inheritance diagram for PHG.CellObjectOutline:

Public Member Functions

void BuildMesh (int[] indexes, float outlineWidth, float outlineOffsetHeight)
 
void UpdateColor (Color color)
 Updates outline color.
 

Public Attributes

CellObject parent_co
 
GameObject maskOutline
 
MeshRenderer mask_meshRenderer
 
Material maskMaterial
 

Detailed Description

Class for building and updating CellObjects' outlines.

Member Function Documentation

void PHG.CellObjectOutline.BuildMesh ( int[]  indexes,
float  outlineWidth,
float  outlineOffsetHeight 
)

Builds CellObject mask outline mesh indexes determines which sides are constructed to the mesh


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