Zdexby TheHolyOneZ
44,741 classes
Class

OcclusionManager

: Singleton`1 : MonoBehaviour : Behaviour : Component : Object : Object
ScheduleOne.Development.Experimental.OcclusionCulling.OcclusionManager, Assembly-CSharp 0x00D8 (216 B) inherited 0x0028 Assembly-CSharp.dll
0x00x00D8

Members 26

OffsetSizeNameTypeFlagsDefault
0x0CBoundsVector3Private—
0x04_cellSizefloatPrivate—
0x04_maxDistancefloatPrivate—
0x04_visibilityThresholdfloatPrivate—
0x08_occlusionDataAssetOcclusionDataPrivate—
0x08_inclusionZonesList<UnityEngine.Collider>Private—
0x08_occlusionObjectsList<ScheduleOne.Development.Experimental.OcclusionCulling.OcclusionObject>Private—
0x04_occlusionLayerMaskLayerMaskPrivate—
0x04_treeLayerMaskLayerMaskPrivate—
0x01_debugDrawGizmosboolPrivate—
0x01_debugDrawCellsboolPrivate—
0x00620x02padding / unreflected
0x10_boundsColorColorPrivate—
0x10_inclusionZoneColorColorPrivate—
0x10_cellColorColorPrivate—
0x01_debugDrawRaysboolPrivate—
0x00950x03padding / unreflected
0x08_cellLocationTransformPrivate—
0x01_showCellStateForSpecifiedObjectboolPrivate—
0x00A10x03padding / unreflected
0x04_debugSpecifiedObjectIndexintPrivate—
0x04_debugSphereSizefloatPrivate—
0x00AC0x04padding / unreflected
0x08_bakeRoutineCoroutinePrivate—
0x08_stopwatchStopwatchPrivate—
0x04_debugCellCountintPrivate—
0x04_debugRayCountintPrivate—
0x04_treeLayerintPrivate—
0x01_isActiveboolPrivate—
0x00CD0x03padding / unreflected
0x08hitsRaycastHit[]Private—
Inherited from Singleton`1 2
OffsetSizeNameTypeFlagsDefault
0x08instanceOcclusionManagerPrivateStatic—
0x00080x18padding / unreflected
0x01Destroyedbool1 flags—
Inherited from MonoBehaviour 1
OffsetSizeNameTypeFlagsDefault
0x08m_CancellationTokenSourceCancellationTokenSourcePrivate—
Inherited from Object 4
OffsetSizeNameTypeFlagsDefault
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+1 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 19

SignatureFlagsNativeParams
void RunOcclusionBake()Public0x00
void Update()Private0x00
void SetActive(bool isActive)Public0x01
void DoOcclusionBakeRoutine()Private0x00
bool IsObjectVisible(const Vector3& point, OcclusionObject obj)Private0x0C
bool IsObjectCornersVisible(const Vector3& point, const Vector3[]& corners)Private0x0C
bool IsObjectFaceVisible(const Vector3& cell, const Vector3& origin, const Vector3& normal, const Vector3& axisU, const Vector3& axisV, float sizeNormal, float sizeU, float sizeV, int N)Private0x0C
bool IsPointVisible(const Vector3& p1, const Vector3& p2)Private0x0C
Vector3Int WorldToCellIndex(const Vector3& worldPos, const Vector3& origin, const Vector3& cellSize)Private0x0C
bool GetObjectVisiblityState(int dataIndex, int objectIndex)Private0x04
void SetObjectStateBasedOnPosition(const Vector3& worldPos)Public0x0C
bool GetStateAtWorldPosition(const Vector3& worldPos, int objectIndex)Public0x0C
int WorldPositionToOcclusionIndex(const Vector3& worldPos)Public0x0C
void DebugCellRays()Private0x00
void CalculateCells()Private0x00
void OnDrawGizmos()Private0x00
void DebugSpecifiedObjectState()Private0x00
void CheckData()Public0x00
void .ctor()Public+1 flags0x00

Used by 1

types with a member, parameter or interface of this type