Astra Unity 2.6.6
Astra Unity Plugin
Astra.Asset.Images.ProcessJob Class Reference
Inheritance diagram for Astra.Asset.Images.ProcessJob:

Public Member Functions

 ProcessJob (ImageProcessRequest request)
 
override string 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 ProcessResult 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< ProcessResult, string >
IEnumerator AsCoroutine (Action< float > progress=null, Action< T1 > onComplete=null, Action< T2 > onFailed=null)
 Wraps a job to be used within a coroutine More...
 

Public Attributes

bool splitTex2DLoading = true
 If true and more then one texture is in the list, will generate Texture2D textures in chunks rather then all at once
 

Member Function Documentation

◆ GetError()

override string Astra.Asset.Images.ProcessJob.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< ProcessResult, string >.

◆ GetResult()

override ProcessResult Astra.Asset.Images.ProcessJob.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< ProcessResult, string >.


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