Nebula
Loading...
Searching...
No Matches
naxfileformatstructs.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
12#include "core/types.h"
13
14namespace CoreAnimation
15{
16#pragma pack(push, 1)
17
18#define NEBULA_NAX3_MAGICNUMBER 'NA01'
19
20//------------------------------------------------------------------------------
31
40
47
61
63{
64 char name[47];
65 char category[15];
67};
68
70{
73 uchar preInfinityType; // CoreAnimation::InfinityType::Code
74 uchar postInfinityType; // CoreAnimation::InfinityType::Code
75 uchar curveType; // CoreAnimation::CurveType::Code
76};
77
78//------------------------------------------------------------------------------
88
100
102{
106 float keyX;
107 float keyY;
108 float keyZ;
109 float keyW;
110};
111
112#pragma pack(pop)
113} // namespace CoreAnimation
An animation resource holds a set of animations from a loaded NAX file.
Definition charactercontext.h:40
Definition naxfileformatstructs.h:102
int ipolType
Definition naxfileformatstructs.h:103
float keyZ
Definition naxfileformatstructs.h:108
float keyX
Definition naxfileformatstructs.h:106
int firstKeyIndex
Definition naxfileformatstructs.h:104
int isAnim
Definition naxfileformatstructs.h:105
float keyY
Definition naxfileformatstructs.h:107
float keyW
Definition naxfileformatstructs.h:109
Definition naxfileformatstructs.h:90
int loopType
Definition naxfileformatstructs.h:97
SizeT keyStride
Definition naxfileformatstructs.h:94
char metaData[512]
Definition naxfileformatstructs.h:98
IndexT startKey
Definition naxfileformatstructs.h:92
SizeT numCurves
Definition naxfileformatstructs.h:91
float fadeInFrames
Definition naxfileformatstructs.h:96
float keyTime
Definition naxfileformatstructs.h:95
SizeT numKeys
Definition naxfileformatstructs.h:93
legacy NAX2 file format structs
Definition naxfileformatstructs.h:83
SizeT numKeys
Definition naxfileformatstructs.h:86
uint magic
Definition naxfileformatstructs.h:84
SizeT numGroups
Definition naxfileformatstructs.h:85
Definition naxfileformatstructs.h:63
char category[15]
Definition naxfileformatstructs.h:65
ushort keyIndex
Definition naxfileformatstructs.h:66
char name[47]
Definition naxfileformatstructs.h:64
Definition naxfileformatstructs.h:33
uint numKeys
Definition naxfileformatstructs.h:37
ushort numCurves
Definition naxfileformatstructs.h:35
uint numIntervals
Definition naxfileformatstructs.h:38
ushort numClips
Definition naxfileformatstructs.h:34
ushort numEvents
Definition naxfileformatstructs.h:36
Definition naxfileformatstructs.h:49
ushort firstCurve
Definition naxfileformatstructs.h:51
ushort numEvents
Definition naxfileformatstructs.h:52
ushort firstVelocityCurve
Definition naxfileformatstructs.h:55
ushort numVelocityCurves
Definition naxfileformatstructs.h:54
uint duration
Definition naxfileformatstructs.h:57
char name[48]
Definition naxfileformatstructs.h:59
ushort firstEvent
Definition naxfileformatstructs.h:53
ushort numCurves
Definition naxfileformatstructs.h:50
Definition naxfileformatstructs.h:70
uint numIntervals
Definition naxfileformatstructs.h:72
uchar preInfinityType
Definition naxfileformatstructs.h:73
uchar postInfinityType
Definition naxfileformatstructs.h:74
uint firstIntervalOffset
Definition naxfileformatstructs.h:71
uchar curveType
Definition naxfileformatstructs.h:75
NAX3 file format structs.
Definition naxfileformatstructs.h:27
ushort numAnimations
Definition naxfileformatstructs.h:29
uint magic
Definition naxfileformatstructs.h:28
Definition naxfileformatstructs.h:42
uint end
Definition naxfileformatstructs.h:43
uint key1
Definition naxfileformatstructs.h:44
uint key0
Definition naxfileformatstructs.h:44
uint start
Definition naxfileformatstructs.h:43
float duration
Definition naxfileformatstructs.h:45
unsigned char uchar
Definition types.h:33
int SizeT
Definition types.h:49
unsigned int uint
Definition types.h:31
unsigned short ushort
Definition types.h:32
int IndexT
Definition types.h:48