Class AnimationGroupLoader
- Namespace
- ValveResourceFormat.IO
- Assembly
- ValveResourceFormat.dll
Loads animation data from animation group resources.
public static class AnimationGroupLoader
Inheritance
Inherited Members
Methods
LoadAnimationGroup(Resource, IFileLoader, Skeleton, FlexController[])
Loads all animations from an animation group resource.
public static IEnumerable<Animation> LoadAnimationGroup(Resource resource, IFileLoader fileLoader, Skeleton skeleton, FlexController[] flexControllers)
Parameters
resource
Resource-
The animation group resource to load from.
fileLoader
IFileLoader-
File loader for loading external animation files.
skeleton
Skeleton-
The skeleton to apply animations to.
flexControllers
FlexController[]-
Flex controllers for facial animations.
Returns
- IEnumerable<Animation>
-
Collection of loaded animations.