|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CMeshBase Class ReferenceA base mesh with just material manipulation.
More...
#include <mesh_base.h>
Inheritance diagram for NL3D::CMeshBase:
List of all members.
Detailed Description
A base mesh with just material manipulation.
Used as an abstract base class for CMesh or CMeshMRM. -
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2001
Definition at line 53 of file mesh_base.h.
Member Typedef Documentation
Constructor & Destructor Documentation
NL3D::CMeshBase::CMeshBase |
( |
|
) |
|
|
NL3D::CMeshBase::~CMeshBase |
( |
|
) |
|
|
Member Function Documentation
void NL3D::CMeshBase::applyMaterialUsageOptim |
( |
const std::vector< bool > & |
materialUsed, |
|
|
std::vector< sint > & |
remap |
|
) |
[protected] |
|
void NL3D::CMeshBase::buildMeshBase |
( |
CMeshBaseBuild & |
m |
) |
[protected] |
|
|
Just copy informations from a CMeshBaseBuild.
Definition at line 217 of file mesh_base.cpp.
References _AnimatedMaterials, _AnimatedMorph, _DefaultPivot, _DefaultPos, _DefaultRotEuler, _DefaultRotQuat, _DefaultScale, _LightInfos, _Materials, _UseLightingLocalAttenuation, and computeIsLightable. |
void NL3D::CMeshBase::computeIsLightable |
( |
|
) |
[private] |
|
void NL3D::CMeshBase::flushTextures |
( |
IDriver & |
driver |
) |
[virtual] |
|
bool NL3D::CMeshBase::getAutoAnim |
( |
|
) |
const [inline] |
|
const CMaterial& NL3D::CMeshBase::getMaterial |
( |
uint |
id |
) |
const [inline] |
|
uint NL3D::CMeshBase::getNbMaterial |
( |
|
) |
const [inline] |
|
bool NL3D::CMeshBase::isLightable |
( |
|
) |
const [inline] |
|
|
Is this mesh lightable? true if one of his materials is not a lightmap. NB: result stored in file.
Definition at line 163 of file mesh_base.h.
References _IsLightable. |
void NL3D::CMeshBase::resetLodCharacterTexture |
( |
|
) |
|
|
|
serial the base Part of this mesh.
Definition at line 149 of file mesh_base.cpp.
References _AnimatedMaterials, _AnimatedMorph, _AutoAnim, _DefaultPivot, _DefaultPos, _DefaultRotEuler, _DefaultRotQuat, _DefaultScale, NL3D::IShape::_DistMax, _IsLightable, _LightInfos, _LodCharacterTexture, _Materials, _UseLightingLocalAttenuation, and computeIsLightable. |
void NL3D::CMeshBase::setAnimatedMaterial |
( |
uint |
id, |
|
|
const std::string & |
matName |
|
) |
|
|
void NL3D::CMeshBase::setAutoAnim |
( |
bool |
on = true |
) |
[inline] |
|
|
Tells that the model instanciated from this shape should be automatically animated.
If so the scene will search for an automatic anim that has the same name than this shape and will bind it. This state is serialized. NB: This is a clue to scene::createInstance, a call to createInstance of this object won't make the animation binding.
Definition at line 175 of file mesh_base.h.
References _AutoAnim. |
bool NL3D::CMeshBase::useLightingLocalAttenuation |
( |
|
) |
const [virtual] |
|
Member Data Documentation
std::vector<CMorphBase> NL3D::CMeshBase::_AnimatedMorph [protected]
|
|
bool NL3D::CMeshBase::_AutoAnim [protected]
|
|
bool NL3D::CMeshBase::_IsLightable [protected]
|
|
std::vector<CMaterial> NL3D::CMeshBase::_Materials [protected]
|
|
bool NL3D::CMeshBase::_UseLightingLocalAttenuation [protected]
|
|
The documentation for this class was generated from the following files:
|
|