|
|
| 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) |
| |
|
virtual bool | isSolid () |
| |
| virtual int | TessellateBlock (BlockModel *tessellatedModel) |
| |
|
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...
|
| |
base class for a block in bmax model