C++ SDK Reference  12.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diguyGraphicsMeshDx9 Class Reference

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

bdiMeshDx9m_scripted_object
 

Friends

class bdiMeshDx9
 

Detailed Description

Link against: libdiguy_graphics_dx9

Constructor & Destructor Documentation

diguyGraphicsMeshDx9::diguyGraphicsMeshDx9 ( bdiMeshDx9 mesh)
private

A private constructor.

diguyGraphicsMeshDx9::~diguyGraphicsMeshDx9 ( )
private

A private destructor.

Member Function Documentation

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.

Friends And Related Function Documentation

friend class bdiMeshDx9
friend

Member Data Documentation

bdiMeshDx9* diguyGraphicsMeshDx9::m_scripted_object
private

The documentation for this class was generated from the following file: