Class ZipLoadCustomContextData
Provides additional context data to the Asset.zip
archive. This includes references to the Zip
Inherited Members
Namespace: TriLibCore
Assembly: Assembly-CSharp.dll
Syntax
public class ZipLoadCustomContextData
Fields
OnError
A reference to the original error callback passed during zip-based model loading, allowing custom handlers to be invoked if an error occurs at any point in the load process.
Declaration
public Action<IContextualizedError> OnError
Field Value
Type | Description |
---|---|
Action<IContextualized |
OnMaterialsLoad
A reference to the original material load callback passed during zip-based model loading. This is invoked on the main thread once all model materials, textures, and other resources have successfully loaded.
Declaration
public Action<AssetLoaderContext> OnMaterialsLoad
Field Value
Type | Description |
---|---|
Action<Asset |
Stream
The Stream used to access the contents of the .zip file.
This is opened at the start of loading and may be closed automatically
once loading is finished, depending on Close
Declaration
public Stream Stream
Field Value
Type | Description |
---|---|
Stream |
ZipEntry
The individual Zipnull
if searching for recognized model extensions or if multiple entries are processed.
Declaration
public ZipEntry ZipEntry
Field Value
Type | Description |
---|---|
Zip |
ZipFile
The Zip
Declaration
public ZipFile ZipFile
Field Value
Type | Description |
---|---|
Zip |