Live2D  Version 1.0.06
Live2D rendering engine API reference
 All Classes Namespaces Functions
Live2DMotion Class Reference

#include <Live2DMotion.h>

Inheritance diagram for Live2DMotion:
AMotion LDObject

Public Member Functions

 Live2DMotion ()
 Constructor. More...
 
virtual ~Live2DMotion ()
 Destructor. More...
 
virtual void updateParamExe (live2d::ALive2DModel *model, long long timeMSec, float weight, MotionQueueEnt *motionQueueEnt)
 
void setLoop (bool _loop)
 
bool isLoop ()
 
void setLoopFadeIn (bool _loopFadeIn)
 
bool isLoopFadeIn ()
 
virtual int getDurationMSec ()
 
virtual int getLoopDurationMSec ()
 
void dump ()
 
- Public Member Functions inherited from AMotion
 AMotion ()
 Constructor. More...
 
virtual ~AMotion ()
 Destructor. More...
 
void updateParam (live2d::ALive2DModel *model, MotionQueueEnt *motionQueueEnt)
 
void setFadeIn (int fadeInMsec)
 
void setFadeOut (int fadeOutMsec)
 
int getFadeOut ()
 
int getFadeIn ()
 
void setWeight (float weight)
 
float getWeight ()
 
void setOffsetMSec (int offsetMsec)
 
void reinit ()
 

Static Public Member Functions

static Live2DMotionloadMotion (const live2d::LDString &filepath)
 
static Live2DMotionloadMotion (const void *buf, int bufSize)
 
- Static Public Member Functions inherited from LDObject
static void * operator new (l2d_size_t size)
 
static void operator delete (void *ptr)
 
static void * operator new[] (l2d_size_t size)
 
static void operator delete[] (void *ptr)
 
static void * operator new (l2d_size_t size, void *ptr)
 
static void operator delete (void *ptr, void *ptr2)
 
static void * operator new (l2d_size_t size, MemoryParam *memParam)
 
static void operator delete (void *ptr, MemoryParam *memParam)
 
static void * operator new (l2d_size_t size, MemoryParam *memParam, const char *filename, int line)
 
static void operator delete (void *ptr, MemoryParam *memParam, const char *filename, int line)
 

Additional Inherited Members

- Static Public Attributes inherited from LDObject
static int object_instanceCount = 0
 
static int object_totalCount = 0
 
- Protected Member Functions inherited from AMotion
float getEasing (float time, float totalTime, float accelerateTime)
 
- Protected Attributes inherited from AMotion
int fadeInMsec
 
int fadeOutMsec
 
float weight
 
int offsetMsec
 

Detailed Description


Constructor & Destructor Documentation

Constructor.


Date
2013/05/21
~Live2DMotion ( )
virtual

Destructor.


Date
2013/05/21

Member Function Documentation

int getDurationMSec ( )
virtual

Reimplemented from AMotion.

Live2DMotion * loadMotion ( const live2d::LDString filepath)
static

Live2DMotion * loadMotion ( const void *  buf,
int  bufSize 
)
static

void updateParamExe ( live2d::ALive2DModel model,
long long  timeMSec,
float  weight,
MotionQueueEnt *  motionQueueEnt 
)
virtual

Implements AMotion.


The documentation for this class was generated from the following files: