GLBManager provides centralized functionality for exporting and importing GLB files with realvirtual metadata.
More...
|
| static void | StartBatchExportSession () |
| | Starts a batch export session.
|
| |
| static void | EndBatchExportSession () |
| | Ends a batch export session.
|
| |
| static void | ExportGameObject (GameObject obj, string path, string filename) |
| | Exports a GameObject to a GLB file with realvirtual metadata.
|
| |
| static void | ExportWithAssetID (AssetID assetID, bool showProgressWindow=true) |
| | Exports a GameObject using its AssetID component for path and naming.
|
| |
| static void | ExportToCollection (GameObject obj, string collection, string assetName) |
| | Exports a GameObject to a specific collection with a given name.
|
| |
| static void | BatchExportCollection (string collectionName) |
| | Batch exports all GameObjects with AssetID components in a specific collection.
|
| |
| static async System.Threading.Tasks.Task< GLBMetadata > | ExtractMetadataAsync (string path) |
| | Extracts metadata from a GLB file without loading the full asset (fast preview).
|
| |
| static async System.Threading.Tasks.Task< GameObject > | ImportGLBStreamingAsync (string path, MonoBehaviour context=null, Transform parent=null, System.Action< GLBLoadProgress > onProgress=null, System.Threading.CancellationToken cancellationToken=default) |
| | Imports a GLB file using the new streaming importer with progress reporting.
|
| |
| static GameObject | ImportGLB (string path) |
| | Imports a GLB file and returns the root GameObject.
|
| |
| static GameObject[] | ImportAllFromCollection (string collectionName) |
| | Imports all GLB files from a specific collection.
|
| |
| static void | ReimportGLB (string path) |
| | Reimports a GLB file (forces update)
|
| |
| static ImportOptions | CreateRuntimeImportOptions (string directory, MonoBehaviour context=null) |
| | Creates standard import options for runtime GLB import.
|
| |
| static async System.Threading.Tasks.Task< GameObject > | ImportGLBRuntimeAsync (string path, MonoBehaviour context=null, Transform parent=null) |
| | Imports a GLB file at runtime and returns the root GameObject.
|
| |
| static GameObject | ImportGLBRuntime (string path, Transform parent=null) |
| | Synchronous wrapper for runtime GLB import.
|
| |
| static string | GetCollectionPath (string collection) |
| | Gets the full path for a collection.
|
| |
| static bool | ValidateAssetID (AssetID assetID) |
| | Validates an AssetID has required fields.
|
| |
| static GLTFSettings | GetStandardExportSettings () |
| | Gets standard export settings for GLB files.
|
| |
| static ExportContext | CreateExportContext (GLTFSettings settings=null) |
| | Creates a standard export context with realvirtual plugin.
|
| |
| static void | EnsureDirectoryExists (string path) |
| | Ensures a directory exists, creating it if necessary Validates path for security before creating.
|
| |
| static string[] | GetAllGLBsInCollection (string collection) |
| | Gets all GLB files in a collection.
|
| |
| static bool | GLBExists (string collection, string assetName) |
| | Checks if a GLB file exists in a collection.
|
| |
| static string[] | GetAllCollections () |
| | Gets all collection folders.
|
| |
| static void | DeleteCollection (string collectionName) |
| | Deletes an entire collection folder.
|
| |
| static void | RenameAsset (string collection, string oldName, string newName) |
| | Renames an asset within a collection.
|
| |
GLBManager provides centralized functionality for exporting and importing GLB files with realvirtual metadata.
This static class handles all GLB operations for the AssetManager system.