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 BlockModel & GetBlockModel (int nIndex=0)
 get the default block model. More...
 
virtual BlockModel & GetBlockModel (CBlockWorld *pBlockManager, uint16_t block_id, uint16_t bx, uint16_t by, uint16_t bz, uint16_t nBlockData=0, Block **neighborBlocks=NULL)
 
virtual BlockModel & GetBlockModelByData (uint32 nData)
 

Additional Inherited Members

- Protected Attributes inherited from ParaEngine::IBlockModelProvider
BlockTemplate * m_pBlockTemplate
 

Detailed Description

for grass cross model only.


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