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

Contains functions and structures for working with "sub" animations that control the visibility of mesh groups during the playback of main SRT animations. More...

Classes

struct  Animation
 Represents a single visibility animation. More...
struct  AnimationContainer
 Holds a collection of visibility animations. More...
struct  KeyFrame
 Represents a keyframe in a visibility animation. More...

Functions

AnimationContainer Convert (std::vector< SVisibilityAnimation > &&sanimations)
 Converts multiple simple visibility animations to the in-game format.
std::vector< SVisibilityAnimationConvert (const AnimationContainer &animation_container)
 Converts multiple in-game visibility animations to a simpler format.
bool IsOfType (BufferView buffer)
 Tests if the provided file is a visibility animation.
AnimationContainer Import (BufferView buffer)
 Imports animations from a binary file.
Buffer Export (const AnimationContainer &animation_container)
 Exports animations to a binary file format.
Animation Convert (SVisibilityAnimation &&sanimation)
 Converts a simple animation format to an in-game visibility animation.
SVisibilityAnimation Convert (const Animation &animation, u16 flags_disable_left, u16 flags_disable_right)
 Converts an in-game animation to a simpler representation.

Detailed Description

Contains functions and structures for working with "sub" animations that control the visibility of mesh groups during the playback of main SRT animations.

See also
nnl::visanimation::AnimationContainer
nnl::visanimation::IsOfType
nnl::visanimation::Import
nnl::visanimation::Export
nnl::visanimation::Convert
nnl::model::Model::mesh_groups
nnl::animation::AnimationContainer