My Project
Public Member Functions | List of all members
ParaEngine::CGrassModelProvider Class Reference

for grass cross model only. More...

#include <BlockModelProvider.h>

Inheritance diagram for ParaEngine::CGrassModelProvider:
ParaEngine::IBlockModelProvider

Public Member Functions

 CGrassModelProvider (BlockTemplate *pBlockTemplate)
 
virtual int GetModelIndex (CBlockWorld *pBlockManager, uint16_t block_id, uint16_t bx, uint16_t by, uint16_t bz, uint16_t nBlockData=0, Block **neighborBlocks=NULL)
 get block model index
 
- Public Member Functions inherited from ParaEngine::IBlockModelProvider
 IBlockModelProvider (BlockTemplate *pBlockTemplate)
 
virtual BlockModelGetBlockModel (int nIndex=0)
 get the default block model. More...
 
virtual BlockModelGetBlockModel (CBlockWorld *pBlockManager, uint16_t block_id, uint16_t bx, uint16_t by, uint16_t bz, uint16_t nBlockData=0, Block **neighborBlocks=NULL)
 
virtual BlockModelGetBlockModelByData (uint32 nData)
 

Additional Inherited Members

- Protected Attributes inherited from ParaEngine::IBlockModelProvider
BlockTemplatem_pBlockTemplate
 

Detailed Description

for grass cross model only.


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