![]() |
C++ SDK Reference
12.5
|
Link against: libdiguy_graphics_dx9 More...
#include <diguyGraphicsMeshDx9.h>
Public Member Functions | |
| const char * | get_name () |
| Returns the name of the mesh. More... | |
| int | get_is_deformable_flag () |
| Description: More... | |
| int | get_is_visible_flag () |
| Description: More... | |
| LPD3DXMESH | get_mesh () |
| Description: More... | |
| D3DXMATRIX * | get_xform () |
| Description: More... | |
| D3DMATERIAL9 * | get_material () |
| Description: More... | |
| LPDIRECT3DTEXTURE9 | get_texture () |
| Description: More... | |
Private Member Functions | |
| diguyGraphicsMeshDx9 (bdiMeshDx9 *mesh) | |
| A private constructor. More... | |
| ~diguyGraphicsMeshDx9 () | |
| A private destructor. More... | |
Private Attributes | |
| bdiMeshDx9 * | m_scripted_object |
Friends | |
| class | bdiMeshDx9 |
Link against: libdiguy_graphics_dx9
|
private |
A private constructor.
|
private |
A private destructor.
| const char* diguyGraphicsMeshDx9::get_name | ( | ) |
Returns the name of the mesh.
This pointer will never be NULL.
Returns:
name of the mesh
| int diguyGraphicsMeshDx9::get_is_deformable_flag | ( | ) |
Description:
Flag specifying whether the mesh is deformable (value will be 1) or rigid (value will be 0).
| int diguyGraphicsMeshDx9::get_is_visible_flag | ( | ) |
Description:
Flag specifying whether the mesh is currently visible (value will be 1) or not (value will be 0).
| LPD3DXMESH diguyGraphicsMeshDx9::get_mesh | ( | ) |
Description:
Pointer to mesh. May be NULL.
Draw using ID3DXMesh::DrawSubset() call.
| D3DXMATRIX* diguyGraphicsMeshDx9::get_xform | ( | ) |
Description:
Pointer to tranformation matrix of mesh. May be NULL.
Apply before drawing by using IDirect3DDevice9::SetTransform() call.
| D3DMATERIAL9* diguyGraphicsMeshDx9::get_material | ( | ) |
Description:
Pointer to material of mesh. May be NULL.
If not NULL, bind before drawing by using IDirect3DDevice9::SetMaterial() call.
| LPDIRECT3DTEXTURE9 diguyGraphicsMeshDx9::get_texture | ( | ) |
Description:
Pointer to texture to be applied to mesh. May be NULL.
If not NULL, bind before drawing by using IDirect3DDevice9::SetTexture() call.
|
friend |
|
private |