NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
nnl::animation Namespace Reference

Contains functions and structures for working with in-game skeletal animations. More...

Classes

struct  Animation
 Represents a single skeletal animation. More...
struct  AnimationContainer
 Holds a collection of skeletal animations. More...
struct  BoneAnimation
 Represents the transformations of a bone during an animation. More...
struct  ConvertParam
 Parameters for converting animations to the in-game format. More...
struct  KeyFrame
 Represents a keyframe in an animation. More...

Functions

std::vector< SAnimationConvert (const AnimationContainer &animations)
 Converts multiple in-game animations to a simpler format.
AnimationContainer Convert (std::vector< SAnimation > &&sanimations, const ConvertParam &anim_params={}, bool move_with_root=false)
 Converts multiple animations back to AnimationContainer.
bool IsOfType (BufferView buffer)
 Tests if the provided file is an animation container.
AnimationContainer Import (BufferView buffer)
 Imports animations from a binary file.
Buffer Export (const AnimationContainer &animation_container)
 Exports animations to a binary file format.
SAnimation Convert (const Animation &animation)
 Converts an in-game animation to a simpler representation.
Animation Convert (SAnimation &&sanimation, const ConvertParam &anim_param={})
 Converts a simple animation format back to an in-game animation.

Detailed Description

Contains functions and structures for working with in-game skeletal animations.

See also
nnl::animation::AnimationContainer
nnl::animation::IsOfType
nnl::animation::Import
nnl::animation::Export
nnl::animation::Convert