Astra Unity 2.6.6
Astra Unity Plugin
Astra.Asset.EyeLoadJob Class Reference

Loader for an eye item. Generally, this is handled by the FigureItem that this EyeItem will be attached to, so you likely will not need to use this class. More...

Inheritance diagram for Astra.Asset.EyeLoadJob:

Classes

class  EyeLoadOptions
 Options when loading an eye More...
 
class  EyeLoadResult
 

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 EyeLoadResult 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< EyeLoadJob.EyeLoadResult, 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...
 

Protected Attributes

Dictionary< string, MaterialLoadJob.MaterialLoadResult_materials = new Dictionary<string, MaterialLoadJob.MaterialLoadResult>()
 

Detailed Description

Loader for an eye item. Generally, this is handled by the FigureItem that this EyeItem will be attached to, so you likely will not need to use this class.

Member Function Documentation

◆ GetError()

override Loader.LoadError Astra.Asset.EyeLoadJob.GetError ( )
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.

Returns
Yields the error result data

Implements Astra.ApiJobWithResult< EyeLoadJob.EyeLoadResult, Loader.LoadError >.

◆ GetResult()

override EyeLoadResult Astra.Asset.EyeLoadJob.GetResult ( )
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.

Returns
Yields the success result data

Implements Astra.ApiJobWithResult< EyeLoadJob.EyeLoadResult, Loader.LoadError >.


The documentation for this class was generated from the following file: