Astra Unity 2.6.6
Astra Unity Plugin
|
Used to load a mesh efficiently by using side-threads for most of the work and then doing final assembly on main thread More...
Classes | |
class | MeshLoadOptions |
Options for loading a mesh More... | |
class | MeshLoadResult |
Results from loading a mesh More... | |
Public Member Functions | |
override Loader.LoadError | GetError () |
When the job is complete this function can be called by the developer to access the error data set which can be of any type (defined as T2). This needs to be defined if your derived class as an override. More... | |
override MeshLoadResult | GetResult () |
When the job is complete this function can be called by the developer to access the result data set which can be of any type (defined as T1). This needs to be defined if your derived class as an override. More... | |
Public Member Functions inherited from Astra.ApiJobWithResult< MeshLoadJob.MeshLoadResult, Loader.LoadError > | |
IEnumerator | AsCoroutine (Action< float > progress=null, Action< T1 > onComplete=null, Action< T2 > onFailed=null) |
Wraps a job to be used within a coroutine More... | |
Used to load a mesh efficiently by using side-threads for most of the work and then doing final assembly on main thread
|
inlinevirtual |
When the job is complete this function can be called by the developer to access the error data set which can be of any type (defined as T2). This needs to be defined if your derived class as an override.
Implements Astra.ApiJobWithResult< MeshLoadJob.MeshLoadResult, Loader.LoadError >.
|
inlinevirtual |
When the job is complete this function can be called by the developer to access the result data set which can be of any type (defined as T1). This needs to be defined if your derived class as an override.
Implements Astra.ApiJobWithResult< MeshLoadJob.MeshLoadResult, Loader.LoadError >.