Zdexby TheHolyOneZ
36,909 classes
Class

UltimateLevelOfDetail

: MonoBehaviour : Behaviour : Component : Object : Object
MTAssets.UltimateLODSystem.UltimateLevelOfDetail, Assembly-CSharp-firstpass 0x00E8 (232 B) inherited 0x0020 Assembly-CSharp-firstpass.dll
0x00x00E8

Members 37

OffsetSizeNameTypeFlagsDefault
0x08WAIT_FOR_END_OF_FRAMEWaitForEndOfFramePrivate—
0x08cacheOfMainCameraCameraPrivate—
0x08cacheOfUlodDataGameObjectPrivate—
0x08cacheOfUlodDataRuntimeInstancesDetectorRuntimeInstancesDetectorPrivate—
0x04lastDistanceFromMainCamerafloatPrivate—
0x04currentLodAccordingToDistanceintPrivate—
0x04currentDistanceFromMainCamerafloatPrivate—
0x04currentRealDistanceFromMainCamerafloatPrivate—
0x01forcedToDisableLodsOfThisComponentboolPrivate—
0x00510x03padding / unreflected
0x04forcedToShowOnlyALodIndependentOfDistanceintPrivate—
0x08currentScannedMeshesListList<MTAssets.UltimateLODSystem.UltimateLevelOfDetail.ScannedMeshItem>Public—
0x04modeOfMeshesScanningScanMeshesModePublic—
0x01scanInactiveGameObjectsboolPublic—
0x00650x03padding / unreflected
0x08gameObjectsToIgnoreList<UnityEngine.GameObject>Public—
0x04levelsOfDetailToGenerateintPublic—
0x00740x04padding / unreflected
0x08percentOfVerticesForEachLodfloat[]Public—
0x01saveGeneratedLodsInAssetsboolPublic—
0x01skinnedAnimsCompatibilityModeboolPublic—
0x01preventArtifactsboolPublic—
0x01optimizeResultingMeshesboolPublic—
0x01enableLightmapsSupportboolPublic—
0x01enableMaterialsChangesboolPublic—
0x00860x02padding / unreflected
0x04forceOfSimplificationForceOfSimplificationPublic—
0x04cullingModeCullingModePublic—
0x08_customPivotToSimulateLodsTransformPrivate—
0x04cameraDetectionModeCameraDetectionModePublic—
0x01useCacheForMainCameraInDetectionboolPublic—
0x009D0x03padding / unreflected
0x08customCameraForSimulationOfLodsCameraPublic—
0x08minDistanceOfViewForEachLodfloat[]Public—
0x04minDistanceOfViewForCullfloatPublic—
0x00B40x04padding / unreflected
0x08onDoneScanUnityEventPublic—
0x08onUndoScanUnityEventPublic—
0x01forceChangeLodsOfSkinnedInEditorboolPublic—
0x01drawGizmoOnThisPivotboolPublic—
0x00CA0x02padding / unreflected
0x10colorOfGizmoColorPublic—
0x04sizeOfGizmofloatPublic—
0x01forceShowHiddenSettingsboolPublic—
0x00E10x07unreflected bytes to end of UltimateLevelOfDetail
Inherited from MonoBehaviour 1
OffsetSizeNameTypeFlagsDefault
0x08m_CancellationTokenSourceCancellationTokenSourcePrivate—
Inherited from Object 5
OffsetSizeNameTypeFlagsDefault
—0x04kInstanceID_NoneintPrivateStatic+1 flags8
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+2 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 39

SignatureFlagsNativeParams
Transform get_customPivotToSimulateLods()Public+1 flags0x08
void set_customPivotToSimulateLods(Transform value)Public+1 flags0x08
void ValidateAllParameters(bool isGoingToScan)Private0x01
void CreateHierarchyOfFoldersIfNotExists()Private0x00
string SaveGeneratedLodInAssets(const string& lodNumber, long ticks, Mesh generatedLodMesh)Private0x08
Mesh GetGeneratedLodForThisMesh(Mesh originalMesh, float percentOfVertices, bool isSkinnedMesh)Private0x08
Material[] GetCopyOfExistentArrayOfMaterials(const Material[]& sourceArray)Private0x08
void ScanForMeshesAndGenerateAllLodGroups_StartProcessing(bool showProgressBar)Private0x01
IEnumerator ScanForMeshesAndGenerateAllLodGroups_AsyncProcessing(bool showProgressBar)Private0x08
void UndoAllMeshesScannedAndAllLodGroups(bool showProgressBar, bool deleteAllGeneratedMeshes, bool runMonoIl2CppGc, bool runUnityGc)Private0x01
bool isLodsSimulationEnabledInThisSceneForEditorSceneViewMode()Private0x01
Camera GetLastActiveSceneViewCamera()Private0x08
void CullThisLodMeshOfRenderer(ScannedMeshItem meshItem)Private0x08
void UncullThisLodMeshOfRenderer(ScannedMeshItem meshItem)Private0x08
void ChangeLodMeshAndMaterialsOfRenderer(ScannedMeshItem meshItem, int lodLevel)Private0x08
void CalculateCorrectLodForDistanceBeforeChange(float distance)Private0x04
void OnRenderObject()Public0x00
void Awake()Public0x00
IEnumerator OnRenderObject_HookEmulationForHDRP()Private0x08
void OnEnable()Public0x00
int GetCurrentLodLevel()Public0x04
float GetCurrentCameraDistance()Public0x04
float GetCurrentRealCameraDistance()Public0x04
int GetNumberOfLodsGenerated()Public0x04
bool isScannedMeshesCurrentCulled()Public0x01
UltimateLevelOfDetailMeshes[] GetListOfAllMeshesScanned()Public0x08
void ForceShowLod(bool force, int level)Public0x04
bool isThisComponentForcedToShowLod()Public0x01
void ForceDisableLodChangesInThisComponent(bool force)Public0x01
bool isThisComponentForcedToDisableLodChanges()Public0x01
void ForceThisComponentToUpdateLodsRender()Public0x00
bool isMeshesCurrentScannedAndLodsWorkingInThisComponent()Public0x01
void ScanAllMeshesAndGenerateLodsGroups()Public0x00
void UndoCurrentScanWorkingAndDeleteGeneratedMeshes(bool runMonoIl2CppGc, bool runUnityGc)Public0x01
UltimateLevelOfDetail[] GetListOfAllUlodsInThisScene()Public0x08
UltimateLevelOfDetailOptimizer[] GetListOfAllUlodsOptimizerInThisScene()Public0x08
void SetNewCustomCameraForThisAndAllUlodsInThisScene(Camera newCustomCamera)Public0x08
void ConvertThisToDefaultUnityLods()Public0x00
void .ctor()Public+1 flags0x00

Used by 18

types with a member, parameter or interface of this type