Static Public Member Functions | |
| static string | CalculateHash (GameObject gameObject) |
| Calculates a hash for the GameObject including all meshes and transforms of children Returns empty string if no meshes are found. | |
| static string | CalculateHash (GameObject gameObject, bool includeChildren) |
| Calculates a hash for the GameObject with option to include children or not includeChildren: true = hierarchical hash (default), false = single object hash only. | |
| static string | CalculateMeshContentHash (GameObject gameObject) |
| Calculates mesh content hash for prefab comparison (ignores transforms and structure) | |
| static void | BuildGlobalMeshCache () |
| Builds global mesh cache for all unique meshes in the scene (ultra-fast processing) | |
| static async Task | BuildGlobalMeshCacheAsync () |
| Builds global mesh cache asynchronously with multi-threading. | |
| static void | BuildGlobalMeshCacheMainThreadSafe () |
| Builds global mesh cache with proper main thread coordination. | |
| static string | CalculateHashFromMeshCache (GameObject gameObject) |
| Ultra-fast hash calculation using pre-built global mesh cache. | |
| static string | CalculateHashFromMeshCache (GameObject gameObject, bool includeChildren, bool meshContentOnly=false) |
| Ultra-fast hash calculation with options. | |
| static int | CountTotalGameObjectChildren (GameObject rootObject) |
| Counts total number of GameObjects included in the hierarchy (including root) | |
| static string | CalculateMeshHash (Mesh mesh) |
| static void | ClearCache () |
| Clears all caches including global mesh cache. | |
| static int int int int float int int string bool globalCacheBuilt | GetCacheStatsExtended () |
| static int int int float int int string scenePath | GetCacheStats () |
| static List< GameObject > | FindIdenticalObjects (GameObject gameObject) |
| Finds all objects in scene with identical hashes. | |
| static GameObject[] | GetAllObjectsInScene () |
| Gets all GameObjects in the current scene. | |
| static void | InitializePersistentCache () |
| Initialize persistent cache system. | |
| static void | SavePersistentCache () |
| Save persistent cache. | |
Static Public Attributes | |
| static int | runtimeCacheEntries |
| Gets cache statistics including global mesh cache. | |
| static int int | meshAssetCacheEntries |
| static int int int | globalMeshCacheEntries |
| static int int int int | persistentCacheEntries |
| static int int int int float | cacheHitRate |
| static int int int int float int | totalRequests |
| static int int int int float int int | totalHits |
| static int int int int float int int string | scenePath |
| static int int int | persistentCacheEntries |
| static int int int float | cacheHitRate |
| static int int int float int | totalRequests |
| static int int int float int int | totalHits |
Member Function Documentation
◆ BuildGlobalMeshCache()
|
static |
Builds global mesh cache for all unique meshes in the scene (ultra-fast processing)
◆ BuildGlobalMeshCacheAsync()
|
static |
Builds global mesh cache asynchronously with multi-threading.
◆ BuildGlobalMeshCacheMainThreadSafe()
|
static |
Builds global mesh cache with proper main thread coordination.
◆ CalculateHash() [1/2]
|
static |
Calculates a hash for the GameObject including all meshes and transforms of children Returns empty string if no meshes are found.
◆ CalculateHash() [2/2]
|
static |
Calculates a hash for the GameObject with option to include children or not includeChildren: true = hierarchical hash (default), false = single object hash only.
◆ CalculateHashFromMeshCache() [1/2]
|
static |
Ultra-fast hash calculation using pre-built global mesh cache.
◆ CalculateHashFromMeshCache() [2/2]
|
static |
Ultra-fast hash calculation with options.
◆ CalculateMeshContentHash()
|
static |
Calculates mesh content hash for prefab comparison (ignores transforms and structure)
◆ ClearCache()
|
static |
Clears all caches including global mesh cache.
◆ CountTotalGameObjectChildren()
|
static |
Counts total number of GameObjects included in the hierarchy (including root)
◆ FindIdenticalObjects()
|
static |
Finds all objects in scene with identical hashes.
◆ GetAllObjectsInScene()
|
static |
Gets all GameObjects in the current scene.
◆ InitializePersistentCache()
|
static |
Initialize persistent cache system.
◆ SavePersistentCache()
|
static |
Save persistent cache.
Member Data Documentation
◆ runtimeCacheEntries
|
static |
Gets cache statistics including global mesh cache.
Gets cache statistics.