|
readonly List< Object > | Allocations = new List<Object>() |
| Unity object allocations list.
|
|
readonly Dictionary< GameObject, string > | GameObjectPaths = new Dictionary<GameObject, string>() |
| Mapping between created Game Objects and their hierarchy path.
|
|
readonly Dictionary< IModel, GameObject > | GameObjects = new Dictionary<IModel, GameObject>() |
| Mapping between Models representations and created Game Objects.
|
|
readonly ConcurrentDictionary< IMaterial, Material > | GeneratedMaterials = new ConcurrentDictionary<IMaterial, Material>() |
| Mapping between Material representations and Unity Materials generated on-the-fly.
|
|
readonly ConcurrentDictionary< string, string > | LoadedExternalData = new ConcurrentDictionary<string, string>() |
| Mapping between short external resource filenames and their complete filenames.
|
|
readonly ConcurrentDictionary< IMaterial, Material > | LoadedMaterials = new ConcurrentDictionary<IMaterial, Material>() |
| Mapping between Material representations and created Unity Materials.
|
|
readonly ConcurrentDictionary< ITexture, TextureLoadingContext > | LoadedTextures = new ConcurrentDictionary<ITexture, TextureLoadingContext>() |
| Mapping between Texture representations and Texture Loading Contexts.
|
|
readonly ConcurrentDictionary< IMaterial, List< MaterialRendererContext > > | MaterialRenderers = new ConcurrentDictionary<IMaterial, List<MaterialRendererContext>>() |
| Mapping between Material representations and Material Renderer Contexts.
|
|
readonly ConcurrentDictionary< CompoundMaterialKey, TextureLoadingContext > | MaterialTextures = new ConcurrentDictionary<CompoundMaterialKey, TextureLoadingContext>() |
| Mapping between Materials Textures and Unity Textures.
|
|
readonly Dictionary< GameObject, IModel > | Models = new Dictionary<GameObject, IModel>() |
| Mapping between created Game Objects and raw Models.
|
|
bool | AppliedDoubleSidedMaterials |
| Indicates whether double sided materials have been applied to the last processed mesh.
|
|
bool | Async = true |
| Indicates whether the context Model is being loaded asynchronously.
|
|
string | BasePath |
| The Base path from where the Model is loaded.
|
|
CancellationToken | CancellationToken |
| Reference to the Cancellation Token used to limit the duration of the requests.
|
|
CancellationTokenSource | CancellationTokenSource |
| The CancellationTokenSource can be used to cancel a model loading on demand.
|
|
object | CustomData |
| Reference to any custom data to pass to the context.
|
|
string | FileExtension |
| The Model extension when loading from a stream.
|
|
string | Filename |
| The Model filename when loading from the local file system.
|
|
bool | HaltTasks |
| Indicates whether tasks should be initialized immediately.
|
|
Action< IContextualizedError > | HandleError |
| Reference to the Asset Loader error handling event, which does additional handling before calling OnError.
|
|
bool | IsZipFile |
| This flag indicates whether the model is loaded from a Zip file.
|
|
float | LoadingProgress |
| Indicates the model loading progress.
|
|
string | ModificationDate |
| Stores the format-specific file modification date.
|
|
Action< IContextualizedError > | OnError |
| Reference to the error event.
|
|
Action< AssetLoaderContext > | OnLoad |
| Reference to the load event, triggered when the Model has loaded, but resources may still pending.
|
|
Action< AssetLoaderContext > | OnMaterialsLoad |
| Reference to the materials load event, triggered when the Model and resources have loaded.
|
|
Action< AssetLoaderContext > | OnPreLoad |
| The method to call on the parallel Thread before the Unity objects are created.
|
|
Action< AssetLoaderContext, float > | OnProgress |
| Reference to the Model loading progress updating event.
|
|
AssetLoaderOptions | Options |
| Reference to the Options used to load the Model.
|
|
ReaderBase | Reader |
| Reference to the Reader used to load the Model.
|
|
GameObject | RootGameObject |
| Reference to the loaded root Game Object.
|
|
IRootModel | RootModel |
| Reference to the Loaded Model representation.
|
|
Stream | Stream |
| Stream used to load the Model when not loading from the local file system.
|
|
Task | Task |
| The Task created for this Context.
|
|
List< Task > | Tasks = new List<Task>() |
| Reference to the tasks used when loading the Model Asynchronously.
|
|
GameObject | WrapperGameObject |
| Reference to the Game Object to be the parent of the loaded Model.
|
|
Represents the main context containing Model loading data.