Astra Unity 2.6.6
Astra Unity Plugin
|
Creates a new MaterialVariation which is used for replacing or blending into an existing material on an asset this asset can be hair, cloth, skin, etc More...
Classes | |
class | MaterialVariationLoadOptions |
Options when loading a material variation More... | |
class | MaterialVariationLoadResult |
Results from loading a material variation 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 MaterialVariationLoadResult | 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< MaterialVariationLoadJob.MaterialVariationLoadResult, 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 Member Functions | |
bool? | RunPostFetch (Job job) |
bool? | Execute (Job job) |
Creates a new MaterialVariation which is used for replacing or blending into an existing material on an asset this asset can be hair, cloth, skin, etc
This is very similar to the decal system
|
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< MaterialVariationLoadJob.MaterialVariationLoadResult, 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< MaterialVariationLoadJob.MaterialVariationLoadResult, Loader.LoadError >.