VoxelFarm::BillboardPackData Struct Reference

Structure used to cache billboards and material instances. More...

#include <CellData.h>

Public Attributes

int billboardId
 Identifies which billboard or material instance it is.
 
int materialId
 Identifies on which material the billboard or material instance appears.
 
int billboardType
 Billboard type (0 - grass, 1 - foliage, 3 - material instance)
 
float billboardHeight
 Specifies billboard size.
 
Algebra::Vector billboardPos
 Billboard's position within the cell (ranges from 0 to 1)
 
Algebra::Vector billboardNormal
 Billboard's normal vector.
 
float rotation
 Billboard's rotation around its normal.
 
unsigned int billboardLight
 Light collected by the billboard.
 
double distanceToViewer
 Distance to the viewer when the billboard or material instance was created.
 
bool enabled
 Specified whether this occurence should be actually used.
 

Detailed Description

Structure used to cache billboards and material instances.

Definition at line 36 of file CellData.h.


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