Inherits MonoBehaviour.
§ SwitchDistanceSetup
| Enumerator |
|---|
| notSetup | |
| error | |
| setup | |
§ _ResetPositionMarker()
| void MB2_LOD._ResetPositionMarker |
( |
| ) |
|
§ AdjustNextLevelIndex()
| void MB2_LOD.AdjustNextLevelIndex |
( |
int |
newIdx | ) |
|
§ ArePrototypesSetup()
| bool MB2_LOD.ArePrototypesSetup |
( |
| ) |
|
§ CalculateSwitchDistances()
| bool MB2_LOD.CalculateSwitchDistances |
( |
float |
fieldOfView, |
|
|
bool |
showWarnings |
|
) |
| |
§ CheckIfLODsNeedToChange()
| void MB2_LOD.CheckIfLODsNeedToChange |
( |
| ) |
|
§ CheckState()
| void MB2_LOD.CheckState |
( |
bool |
exInCombined, |
|
|
bool |
exInQueue, |
|
|
MB2_LODOperation |
exAction, |
|
|
int |
exNextIdx, |
|
|
int |
exCurrentIdx |
|
) |
| |
Used by the test harness.
Compares expected values to current values.
§ Clear()
§ ForceAdd()
| void MB2_LOD.ForceAdd |
( |
| ) |
|
§ ForceRemove()
| void MB2_LOD.ForceRemove |
( |
| ) |
|
§ GetActiveSelf()
| static bool MB2_LOD.GetActiveSelf |
( |
GameObject |
go | ) |
|
|
static |
§ GetBaker()
§ GetCombiner()
§ GetGameObjectID()
| int MB2_LOD.GetGameObjectID |
( |
int |
idx | ) |
|
§ GetHierarchyPosition()
| Vector3 MB2_LOD.GetHierarchyPosition |
( |
| ) |
|
§ GetHierarchyRoot()
| MB2_LOD MB2_LOD.GetHierarchyRoot |
( |
| ) |
|
§ GetNumVerts()
| int MB2_LOD.GetNumVerts |
( |
int |
idx | ) |
|
§ GetRendererGameObject()
| GameObject MB2_LOD.GetRendererGameObject |
( |
int |
idx | ) |
|
§ GetStatusMessage()
| string MB2_LOD.GetStatusMessage |
( |
| ) |
|
§ OnAddToQueue()
| void MB2_LOD.OnAddToQueue |
( |
| ) |
|
§ OnBakeAdded()
| void MB2_LOD.OnBakeAdded |
( |
| ) |
|
§ OnBakeRemoved()
| void MB2_LOD.OnBakeRemoved |
( |
| ) |
|
§ OnBakeUpdated()
| void MB2_LOD.OnBakeUpdated |
( |
| ) |
|
§ OnRemoveFromQueue()
| void MB2_LOD.OnRemoveFromQueue |
( |
| ) |
|
§ SetActiveSelf()
| static void MB2_LOD.SetActiveSelf |
( |
GameObject |
go, |
|
|
bool |
isActive |
|
) |
| |
|
static |
§ SetCombiner()
§ SetupHierarchy()
§ SetWasDestroyedFlag()
| void MB2_LOD.SetWasDestroyedFlag |
( |
| ) |
|
§ Start()
§ ToString()
| override string MB2_LOD.ToString |
( |
| ) |
|
§ action
§ bakeIntoCombined
| bool MB2_LOD.bakeIntoCombined = true |
§ bakerLabel
| string MB2_LOD.bakerLabel = "" |
§ forceToLevel
| int MB2_LOD.forceToLevel = -1 |
The force to level.
forces the LOD into a particular level. If this setting is -1 it is ignored. otherwise the LOD is kept at the specified level.
§ levels
§ LOG_LEVEL
§ myLog
§ renderType
§ currentLevelIdx
| int MB2_LOD.currentLevelIdx |
|
get |
§ distanceSquaredToClosestCamera
| float MB2_LOD.distanceSquaredToClosestCamera |
|
get |
§ isInCombined
| bool MB2_LOD.isInCombined |
|
get |
§ isInQueue
§ nextLevelIdx
The documentation for this class was generated from the following file:
- D:/workspace/Unity/MeshBaker/Assets/MeshBakerLOD/Scripts/MB2_LOD.cs