|
My Project
|
for horizontal wires More...
#include <WireModelProvider.h>
Public Member Functions | |
| CWireModelProvider (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) |
Public Member Functions inherited from ParaEngine::IBlockModelProvider | |
| IBlockModelProvider (BlockTemplate *pBlockTemplate) | |
| 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 | |
Additional Inherited Members | |
Protected Attributes inherited from ParaEngine::IBlockModelProvider | |
| BlockTemplate * | m_pBlockTemplate |
for horizontal wires
|
virtual |
get the default block model.
This function must be implemented if one provide its own model
| nIndex | model index default to 0 |
Reimplemented from ParaEngine::IBlockModelProvider.
1.8.12