NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches

Functions

SAnimation nnl::animation::Convert (const Animation &animation)
 Converts an in-game animation to a simpler representation.
Animation nnl::animation::Convert (SAnimation &&sanimation, const ConvertParam &anim_param={})
 Converts a simple animation format back to an in-game animation.

Detailed Description

Function Documentation

◆ Convert() [1/2]

SAnimation nnl::animation::Convert ( const Animation & animation)

Converts an in-game animation to a simpler representation.

This function takes an Animation object and converts it into a format that is more suitable for exporting to other formats.

Parameters
animationThe in-game animation to be converted.
Returns
The converted animation in a simpler format.

◆ Convert() [2/2]

Animation nnl::animation::Convert ( SAnimation && sanimation,
const ConvertParam & anim_param = {} )

Converts a simple animation format back to an in-game animation.

This function takes an SAnimation object and converts it into the in-game format.

Parameters
sanimationThe animation to be converted.
anim_paramConversion parameters.
Returns
The converted in-game animation.
Note
Use std::move when passing an existing object.