MeshBaker
Public Types | Public Member Functions | Public Attributes | List of all members
MB2_LODManager.BakerPrototype Class Reference

Public Types

enum  CombinerType { CombinerType.grid, CombinerType.simple, CombinerType.moving }
 

Public Member Functions

bool Initialize (BakerPrototype[] bakers)
 
void CreateClusterManager ()
 
void Clear ()
 

Public Attributes

MB3_MeshBaker meshBaker
 
int lightMapIndex = -1
 
int layer = 1
 
bool castShadow = true
 
bool receiveShadow = true
 
string label = ""
 
CombinerType clusterType = CombinerType.grid
 
int maxVerticesPerCombinedMesh = 32000
 
float gridSize = 250
 
HashSet< Material > materials = new HashSet<Material>()
 
int [] maxNumberPerLevel = new int[0]
 
bool updateSkinnedMeshApproximateBounds = false
 
int numFramesBetweenLODChecks = 20
 
LODClusterManager baker
 

Member Enumeration Documentation

§ CombinerType

Enumerator
grid 
simple 
moving 

Member Function Documentation

§ Clear()

void MB2_LODManager.BakerPrototype.Clear ( )

§ CreateClusterManager()

void MB2_LODManager.BakerPrototype.CreateClusterManager ( )

§ Initialize()

bool MB2_LODManager.BakerPrototype.Initialize ( BakerPrototype []  bakers)

Member Data Documentation

§ baker

LODClusterManager MB2_LODManager.BakerPrototype.baker

§ castShadow

bool MB2_LODManager.BakerPrototype.castShadow = true

§ clusterType

CombinerType MB2_LODManager.BakerPrototype.clusterType = CombinerType.grid

§ gridSize

float MB2_LODManager.BakerPrototype.gridSize = 250

§ label

string MB2_LODManager.BakerPrototype.label = ""

§ layer

int MB2_LODManager.BakerPrototype.layer = 1

§ lightMapIndex

int MB2_LODManager.BakerPrototype.lightMapIndex = -1

§ materials

HashSet<Material> MB2_LODManager.BakerPrototype.materials = new HashSet<Material>()

§ maxNumberPerLevel

int [] MB2_LODManager.BakerPrototype.maxNumberPerLevel = new int[0]

§ maxVerticesPerCombinedMesh

int MB2_LODManager.BakerPrototype.maxVerticesPerCombinedMesh = 32000

§ meshBaker

MB3_MeshBaker MB2_LODManager.BakerPrototype.meshBaker

§ numFramesBetweenLODChecks

int MB2_LODManager.BakerPrototype.numFramesBetweenLODChecks = 20

§ receiveShadow

bool MB2_LODManager.BakerPrototype.receiveShadow = true

§ updateSkinnedMeshApproximateBounds

bool MB2_LODManager.BakerPrototype.updateSkinnedMeshApproximateBounds = false

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