public AssimpMetadata(AssimpMetadataType metadataType, uint metadataIndex, string metadataKey, object metadataValue) { MetadataType = metadataType; MetadataIndex = metadataIndex; MetadataKey = metadataKey; MetadataValue = metadataValue; }
/// <summary> /// Event assigned to FBX metadata loading. Editor debug purposes only. /// </summary> /// <param name="metadataType">Type of loaded metadata</param> /// <param name="metadataIndex">Index of loaded metadata</param> /// <param name="metadataKey">Key of loaded metadata</param> /// <param name="metadataValue">Value of loaded metadata</param> private void AssetLoader_OnMetadataProcessed(AssimpMetadataType metadataType, uint metadataIndex, string metadataKey, object metadataValue) { Debug.Log("Found metadata of type [" + metadataType + "] at index [" + metadataIndex + "] and key [" + metadataKey + "] with value [" + metadataValue + "]"); }