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

Loader for a FigureItem, which contains the materials for a character's skin More...

Inheritance diagram for Astra.Asset.FigureLoadJob:

Classes

class  FigureLoadOptions
 Options for loading a figure More...
 
class  FigureLoadResult
 Results from loading a figure 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 FigureLoadResult 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< FigureLoadJob.FigureLoadResult, 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...
 

Detailed Description

Loader for a FigureItem, which contains the materials for a character's skin

Member Function Documentation

◆ GetError()

override Loader.LoadError Astra.Asset.FigureLoadJob.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< FigureLoadJob.FigureLoadResult, Loader.LoadError >.

◆ GetResult()

override FigureLoadResult Astra.Asset.FigureLoadJob.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< FigureLoadJob.FigureLoadResult, Loader.LoadError >.


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