VoxelFarm::Architecture::InstancedMesh Struct Reference

Tracks a single instance of a mesh. An architecture entity will be composed of many mesh instances. More...

#include <ArchitectureManager.h>

Public Attributes

CFastQuadricsmesh
 A reference to a polygonal mesh for the instance.
 
int material
 Material for the instance.
 
Entityentity
 Reference to the entity to which the instance belongs.
 
Algebra::Matrix transform
 Position and rotation of the instance.
 
Algebra::Vector size
 Scale for the instance.
 
ScopeType scopeType
 Type of scope for the instance (Box or Prism)
 
double minBounds [3]
 Minimum bounds for the instance.
 
double maxBounds [3]
 Maximum bounds for the instance.
 

Detailed Description

Tracks a single instance of a mesh. An architecture entity will be composed of many mesh instances.

Definition at line 52 of file ArchitectureManager.h.


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