block model node in bmax
More...
#include <BMaxBlockModelNode.h>
|
| BMaxBlockModelNode (BMaxParser *pParser, int16 x_, int16 y_, int16 z_, int32 template_id_, int32 block_data_) |
|
const std::string & | GetFilename () const |
|
void | SetFilename (const std::string &val) |
|
float | GetFacing () const |
|
void | SetFacing (float val) |
|
virtual bool | isSolid () |
|
virtual int | TessellateBlock (BlockModel *tessellatedModel) |
|
| BMaxNode (BMaxParser *pParser, int16 x_, int16 y_, int16 z_, int32 template_id_, int32 block_data_) |
|
uint64 | GetIndex () |
|
virtual DWORD | GetColor () |
|
BlockModel * | GetBlockModel () |
|
void | SetBlockModel (BlockModel *pModel) |
| set block model weak reference. More...
|
|
virtual void | SetColor (DWORD val) |
|
virtual BMaxFrameNode * | ToBoneNode () |
| get the bone node interface if it is
|
|
bool | HasBoneWeight () |
| if there are any bone associated with this node at the moment. More...
|
|
virtual int | GetBoneIndex () |
| return the index of first bone, return -1 if no bone is binded to this node
|
|
virtual void | SetBoneIndex (int nIndex) |
|
BMaxNode * | GetNeighbour (BlockDirection::Side nSize) |
| get neighbor block by side id More...
|
|
BMaxNode * | GetNeighbourByOffset (Vector3 offset) |
|
void | QueryNeighborBlockData (BMaxNode **pBlockData, int nFrom, int nTo) |
|
uint32 | CalculateCubeAO (BMaxNode **neighborBlocks) |
|
int32_t | GetAvgVertexLight (int32_t v1, int32_t v2, int32_t v3, int32_t v4) |
|
void | SetFaceVisible (int nIndex) |
|
void | SetFaceUsed (int nIndex) |
|
bool | IsFaceNotUse (int nIndex) |
|
void | addref () const |
| add reference count of the object. More...
|
|
bool | delref () const |
| decrease reference count of the object. More...
|
|
int | GetRefCount () const |
| get the reference count
|
|
virtual int | Release () |
|
CRefCounted * | AddToAutoReleasePool () |
| addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More...
|
|
|
std::string | m_sFilename |
|
float | m_fFacing |
|
int16 | x |
|
int16 | y |
|
int16 | z |
|
int32 | template_id |
|
int32 | block_data |
|
int | m_nBoneIndex |
|
|
enum | FaceStatus { faceInvisible = 0,
faceVisibleNotSign,
faceVisibleSigned
} |
|
BMaxParser * | m_pParser |
|
DWORD | m_color |
|
BlockModel * | m_pBlockModel |
|
FaceStatus | m_facesStatus [6] |
|
int | m_refcount |
|
§ TessellateBlock()
int ParaEngine::BMaxBlockModelNode::TessellateBlock |
( |
BlockModel * |
tessellatedModel | ) |
|
|
virtual |
- Parameters
-
tessellatedModel | generate block model vertices |
- Returns
- vertices count
Reimplemented from ParaEngine::BMaxNode.
The documentation for this struct was generated from the following files:
- Client/trunk/ParaEngineClient/BMaxModel/BMaxBlockModelNode.h
- Client/trunk/ParaEngineClient/BMaxModel/BMaxBlockModelNode.cpp