Nebula
Loading...
Searching...
No Matches
infinitytype.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
13#include "core/types.h"
14#if !__NEBULA_JOB__
15#include "util/string.h"
16#endif
17
18//------------------------------------------------------------------------------
19namespace CoreAnimation
20{
22{
23public:
25 enum Code
26 {
27 Constant, //> return first or last key
28 Cycle, //> loop the animation
29
32 };
33
34 #if !__NEBULA_JOB__
36 static Code FromString(const Util::String& str);
38 static Util::String ToString(Code c);
39 #endif
40};
41
42} // namespace CoreAnimation
43//------------------------------------------------------------------------------
Describes how time position outsides of an animation curve's scope are handled.
Definition infinitytype.h:22
Code
anim infinity types
Definition infinitytype.h:26
@ NumInfinityTypes
Definition infinitytype.h:30
@ Cycle
Definition infinitytype.h:28
@ InvalidInfinityType
Definition infinitytype.h:31
@ Constant
Definition infinitytype.h:27
static Util::String ToString(Code c)
convert to string
Definition infinitytype.cc:31
static Code FromString(const Util::String &str)
convert from string
Definition infinitytype.cc:17
An animation resource holds a set of animations from a loaded NAX file.
Definition charactercontext.h:40
Nebula's universal string class.
Definition string.h:50