|
|
| CSlopeModelProvider (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) |
| |
|
| CLinearModelProvider (BlockTemplate *pBlockTemplate, int nCount=0) |
| |
|
virtual BlockModel & | GetBlockModelByData (uint32 nData) |
| |
|
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
|
| |
|
int | GetModelCount () const |
| |
|
| IBlockModelProvider (BlockTemplate *pBlockTemplate) |
| |
|
|
void | _buildEdgeBlockModels () |
| |
|
void | _builOuterCornerBlockModels () |
| |
|
void | _buildInnerCornerBlockModels () |
| |
§ GetBlockModel()
| BlockModel & ParaEngine::CSlopeModelProvider::GetBlockModel |
( |
int |
nIndex = 0 | ) |
|
|
virtual |
get the default block model.
This function must be implemented if one provide its own model
- Parameters
-
| nIndex | model index default to 0 |
Reimplemented from ParaEngine::IBlockModelProvider.
The documentation for this class was generated from the following files:
- Client/trunk/ParaEngineClient/BlockEngine/SlopeModelProvider.h
- Client/trunk/ParaEngineClient/BlockEngine/SlopeModelProvider.cpp