AnimaEngine  1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
Data Fields
NanrFrame Struct Reference

Represents a single keyframe in an animation timeline. More...

#include <nanr.h>

Data Fields

u32 raw_cell_value
 
int cell_id
 
int duration
 
u16 marker
 
int transform_type
 
int rotation
 
int scale_x
 
int scale_y
 
int translate_x
 
int translate_y
 

Detailed Description

Represents a single keyframe in an animation timeline.

Field Documentation

◆ cell_id

int NanrFrame::cell_id

Target NCER cell layout index mapping to this keyframe.

◆ duration

int NanrFrame::duration

Time to display this frame (in frames/ticks).

◆ marker

u16 NanrFrame::marker

Sequence transition markers or event flags.

◆ raw_cell_value

u32 NanrFrame::raw_cell_value

Raw cell indices/values.

◆ rotation

int NanrFrame::rotation

Fixed-point rotation angle.

◆ scale_x

int NanrFrame::scale_x

Fixed-point horizontal scaling multiplier.

◆ scale_y

int NanrFrame::scale_y

Fixed-point vertical scaling multiplier.

◆ transform_type

int NanrFrame::transform_type

Type of transformation applied to frame (rotation/scaling).

◆ translate_x

int NanrFrame::translate_x

Frame offset translation (horizontal).

◆ translate_y

int NanrFrame::translate_y

Frame offset translation (vertical).


The documentation for this struct was generated from the following file: