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

This class manage for Live2D
When start Live2D,call Live2D::init(). When end Live2D,call Live2D::dispose().
More...

#include <Live2D.h>

Static Public Member Functions

static void init (live2d::LDAllocator *allocator=NULL)
 
static void dispose ()
 
static const char * getVersionStr ()
 
static l2d_uint32 getVersionNo ()
 
static l2d_bool getBuildOption_RANGE_CHECK_POINT ()
 
static l2d_bool getBuildOption_AVATAR_OPTION_A ()
 
static void setVertexDoubleBufferEnabled (l2d_bool enabled)
 
static l2d_bool isVertexDoubleBufferEnabled ()
 
static void setError (l2d_uint32 errorNo)
 
static l2d_uint32 getError ()
 Get Live2D error. More...
 

Static Public Attributes

static const l2d_uint32 L2D_VERSION_NO = __L2D_VERSION_NO__
 
static const int L2D_NO_ERROR = 0
 
static const int L2D_ERROR_LIVE2D_INIT_FAILED = 1000
 
static const int L2D_ERROR_FILE_LOAD_FAILED = 1001
 
static const int L2D_ERROR_MEMORY_ERROR = 1100
 
static const int L2D_ERROR_MODEL_DATA_VERSION_MISMATCH = 2000
 
static const int L2D_ERROR_MODEL_DATA_EOF_ERROR = 2001
 

Detailed Description

This class manage for Live2D
When start Live2D,call Live2D::init(). When end Live2D,call Live2D::dispose().


Initialize,version info,error info,and more options.

Member Function Documentation

void dispose ( )
static

l2d_bool getBuildOption_AVATAR_OPTION_A ( )
static

l2d_bool getBuildOption_RANGE_CHECK_POINT ( )
static

l2d_uint32 getError ( )
static

Get Live2D error.


Returns
L2D_ERROR_XXX or L2D_NO_ERROR
Date
2013/05/21
l2d_uint32 getVersionNo ( )
static

const char * getVersionStr ( )
static

void init ( live2d::LDAllocator allocator = NULL)
static

static l2d_bool isVertexDoubleBufferEnabled ( )
inlinestatic

void setError ( l2d_uint32  error)
static

static void setVertexDoubleBufferEnabled ( l2d_bool  enabled)
inlinestatic


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