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

#include <Live2DModelIPhone.h>

Inheritance diagram for Live2DModelIPhone:
ALive2DModel LDObject

Public Member Functions

 Live2DModelIPhone (void)
 Constructor. More...
 
virtual ~Live2DModelIPhone (void)
 Destructor. More...
 
void setRenderer (void *r)
 
virtual void draw ()
 
void setTexture (int textureNo, GLuint openGLTextureNo)
 
virtual int generateModelTextureNo ()
 
virtual void releaseModelTextureNo (int no)
 
virtual live2d::DrawParamgetDrawParam ()
 
- Public Member Functions inherited from ALive2DModel
 ALive2DModel ()
 Constructor. More...
 
virtual ~ALive2DModel ()
 Destructor. More...
 
float getParamFloat (const char *paramID)
 
void setParamFloat (const char *paramID, float value, float weight=1.0f)
 
void addToParamFloat (const char *paramID, float value, float weight=1.0f)
 
void multParamFloat (const char *paramID, float mult, float weight=1.0f)
 
int getParamIndex (const char *paramID)
 
int getParamIndex (ParamID *paramID)
 
float getParamFloat (int paramIndex)
 
void setParamFloat (int paramIndex, float value, float weight=1.0f)
 
void addToParamFloat (int paramIndex, float value, float weight=1.0f)
 
void multParamFloat (int paramIndex, float mult, float weight=1.0f)
 
void loadParam ()
 
void saveParam ()
 
virtual void init ()
 
virtual void update ()
 
void setPartsOpacity (const char *partsID, float opacity)
 
void setPartsOpacity (int partsIndex, float opacity)
 
float getPartsOpacity (const char *partsID)
 
float getPartsOpacity (int partsIndex)
 
void setupPartsOpacityGroup_alphaImpl (const char *paramGroup[], float deltaTimeSec)
 
void setModelImpl (ModelImpl *m)
 
ModelImplgetModelImpl ()
 
ModelContextgetModelContext ()
 
int getErrorFlags ()
 
float getCanvasWidth ()
 
float getCanvasHeight ()
 
virtual int getDrawDataIndex (const char *drawDataID)
 
virtual IDrawData * getDrawData (int drawIndex)
 
virtual l2d_pointf * getTransformedPoints (int drawIndex, int *pointCount)
 
virtual l2d_index * getIndexArray (int drawIndex, int *polygonCount)
 
void updateZBuffer_TestImpl (float startZ, float stepZ)
 
int getPartsDataIndex (const char *partsID)
 
int getPartsDataIndex (PartsDataID *partsID)
 
void dump ()
 

Static Public Member Functions

static Live2DModelIPhoneloadModel (const live2d::LDString &filepath)
 
static Live2DModelIPhoneloadModel (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 ALive2DModel
static const int FILE_LOAD_EOF_ERROR = 1
 
static const int FILE_LOAD_VERSION_ERROR = 2
 
static int INSTANCE_COUNT = 0
 
- Static Public Attributes inherited from LDObject
static int object_instanceCount = 0
 
static int object_totalCount = 0
 
- Static Protected Member Functions inherited from ALive2DModel
static l2d_uint32 loadModel_exe (ALive2DModel *ret, const LDString &filepath)
 
static l2d_uint32 loadModel_exe (ALive2DModel *ret, const void *buf, int bufSize)
 
- Protected Attributes inherited from ALive2DModel
ModelImplmodelImpl
 
ModelContextmodelContext
 

Detailed Description


Constructor & Destructor Documentation

Live2DModelIPhone ( void  )

Constructor.


Date
2013/05/21
~Live2DModelIPhone ( void  )
virtual

Destructor.


Date
2013/05/21

Member Function Documentation

void draw ( )
virtual

Reimplemented from ALive2DModel.

int generateModelTextureNo ( )
virtual

Reimplemented from ALive2DModel.

virtual live2d::DrawParam* getDrawParam ( )
inlinevirtual

Reimplemented from ALive2DModel.

Live2DModelIPhone * loadModel ( const live2d::LDString filepath)
static

Live2DModelIPhone * loadModel ( const void *  buf,
int  bufSize 
)
static

void releaseModelTextureNo ( int  no)
virtual

Reimplemented from ALive2DModel.

void setTexture ( int  textureNo,
GLuint  openGLTextureNo 
)


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