coastline 0.0.4
Loading...
Searching...
No Matches
ModelAnimation Struct Reference

An animation of vertices of a model, blended between its keys. More...

#include <model.h>

Collaboration diagram for ModelAnimation:

Public Attributes

s32 vertexCount
Vtx * vertices
void * unreconstructed8
s32 keyCount
u16 flags
u16 startKey
f32 startTime
f32 endTime
f32 time
ModelKeyframe * keys []

Detailed Description

An animation of vertices of a model, blended between its keys.

Member Data Documentation

◆ vertexCount

s32 ModelAnimation::vertexCount

The number of vertices the animation moves.

◆ vertices

Vtx* ModelAnimation::vertices

The vertices the animation moves.

◆ unreconstructed8

void* ModelAnimation::unreconstructed8

Turned into a pointer with the rest, and never read.

◆ keyCount

s32 ModelAnimation::keyCount

The number of keys.

◆ flags

u16 ModelAnimation::flags

The MODEL_ANIMATION_ flags.

◆ startKey

u16 ModelAnimation::startKey

The key a search for the time starts from.

◆ startTime

f32 ModelAnimation::startTime

The time the animation starts at, in seconds.

◆ endTime

f32 ModelAnimation::endTime

The time the animation ends at, in seconds.

◆ time

f32 ModelAnimation::time

The current time of the animation, in seconds.

◆ keys

ModelKeyframe* ModelAnimation::keys[]

The keys, in order of time.


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