![]() |
Live2D
Version 2.0
Live2D rendering engine API reference
|
#include <Live2DMotionBin.h>
Public Types | |
enum | BufType { DO_NOTHING_ON_DESTRUCT, DUPLICATE_AND_DESTRUCT, FREE_ON_DESTRUCT, DELETE_ARRAY_ON_DESTRUCT, DELETE_NORMAL_ON_DESTRUCT, L2D_FREE_ON_DESTRUCT, UTFILE_RELEASE_ON_DESTRUCT } |
Public Member Functions | |
virtual void | updateParamExe (live2d::ALive2DModel *model, long long timeMSec, float weight, MotionQueueEnt *motionQueueEnt) |
void | setLoop (bool _loop) |
bool | isLoop () |
virtual int | getDurationMSec () |
virtual int | getLoopDurationMSec () |
void | dump () |
![]() | |
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 Live2DMotionBin * | loadMotion (const l2d_string &filepath) |
static Live2DMotionBin * | loadMotion (const void *buf, int bufSize, Live2DMotionBin::BufType bufType) |
![]() | |
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 int | object_instanceCount = 0 |
static int | object_totalCount = 0 |
![]() | |
float | getEasing (float time, float totalTime, float accelerateTime) |
![]() | |
int | fadeInMsec |
int | fadeOutMsec |
float | weight |
int | offsetMsec |