Interface IAnimationProcessorFactory
Creates per-import IAnimationProcessor instances.
Namespace: Unity.Cloud.Gltfast.Animations
Assembly: Unity.Cloud.Gltfast.dll
Syntax
[MovedFrom(true, "GLTFast.Animations", "glTFast", null)]
public interface IAnimationProcessorFactory
Remarks
Add-ons that want to handle animation import implement this interface (typically on the same type that derives from ImportAddonInstance) and a fresh IAnimationProcessor is requested for every import call.
Methods
CreateAnimationProcessor(int)
Creates a new IAnimationProcessor for the upcoming animation conversion phase.
Declaration
IAnimationProcessor CreateAnimationProcessor(int clipCount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | clipCount | Total number of animation clips to expect. |
Returns
| Type | Description |
|---|---|
| IAnimationProcessor | A new IAnimationProcessor instance owned by the caller. The caller disposes it at the end of the conversion phase. |