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

Functions

Animation nnl::visanimation::Convert (SVisibilityAnimation &&sanimation)
 Converts a simple animation format to an in-game visibility animation.
SVisibilityAnimation nnl::visanimation::Convert (const Animation &animation, u16 flags_disable_left, u16 flags_disable_right)
 Converts an in-game animation to a simpler representation.

Detailed Description

Function Documentation

◆ Convert() [1/2]

SVisibilityAnimation nnl::visanimation::Convert ( const Animation & animation,
u16 flags_disable_left,
u16 flags_disable_right )

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.
flags_disable_leftThe mesh groups that get disabled as keyframes are encountered
flags_disable_rightThe mesh groups that get disabled as keyframes are encountered
Returns
SVisibilityAnimation The converted animation in a simpler format.

◆ Convert() [2/2]

Animation nnl::visanimation::Convert ( SVisibilityAnimation && sanimation)

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

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

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