Nebula
Loading...
Searching...
No Matches
animclip.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
16#include "util/stringatom.h"
17#include "timing/time.h"
18#include "util/dictionary.h"
19#include "util/fixedarray.h"
20
21//------------------------------------------------------------------------------
22namespace CoreAnimation
23{
47
48//------------------------------------------------------------------------------
51inline void
53{
54 this->name = n;
55}
56
57//------------------------------------------------------------------------------
60inline const Util::StringAtom&
62{
63 return this->name;
64}
65
66} // namespace CoreAnimation
67//------------------------------------------------------------------------------
An animation clip is a collection of related animation curves (for instance all curves required to an...
Definition animclip.h:25
IndexT firstEvent
Definition animclip.h:40
SizeT numEvents
Definition animclip.h:39
Util::StringAtom name
Definition animclip.h:35
SizeT numVelocityCurves
Definition animclip.h:41
SizeT numCurves
Definition animclip.h:37
void SetName(const Util::StringAtom &n)
set the name of the clip
Definition animclip.h:52
const Util::StringAtom & GetName() const
get the name of the clip
Definition animclip.h:61
Timing::Tick duration
Definition animclip.h:44
IndexT firstCurve
Definition animclip.h:38
IndexT firstVelocityCurve
Definition animclip.h:42
AnimClip()
constructor
Definition animclip.cc:17
Util::Dictionary< Util::StringAtom, IndexT > eventIndexMap
Definition animclip.h:45
A collection of key/value pairs with quick value retrieval by key at roughly O(log n).
Definition dictionary.h:34
A StringAtom.
Definition stringatom.h:22
An animation resource holds a set of animations from a loaded NAX file.
Definition charactercontext.h:40
int Tick
the tick datatype (one tick == 1 millisecond)
Definition time.h:20
Typedefs for the Timing subsystem.
int SizeT
Definition types.h:49
int IndexT
Definition types.h:48