|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CMaterialBase Class ReferenceAn material Reference for Animated reference.
More...
#include <animated_material.h>
Inheritance diagram for NL3D::CMaterialBase
[legend]Collaboration diagram for NL3D::CMaterialBase:
[legend]List of all members.
Detailed Description
An material Reference for Animated reference.
This object is stored in the mesh, and is serialised. NB: formated for 3ds Max :). Emissive anim is a float, with a constant RGB factor. -
Author(s):
-
Cyril 'Hulud' Corvazier , Nevrax France
-
Date:
-
2001
Definition at line 51 of file animated_material.h.
Member Typedef Documentation
Constructor & Destructor Documentation
NL3D::CMaterialBase::CMaterialBase (
|
)
|
|
Member Function Documentation
void NL3D::CMaterialBase::copyFromMaterial (
|
CMaterial * pMat )
|
|
|
setup the default tracks from a material This method: copy the material contents into the Defaults tracks values.
- NB: for emissive part, emissive defaut track value is set to 1, and emissive factor is set to the RGB emissive value stored into pMat.
Definition at line 87 of file animated_material.cpp. |
void NL3D::CMaterialBase::setAnimatedTexture (
|
uint32 id,
|
|
CSmartPtr< ITexture > pText )
|
|
|
assign a specific texture for an id (a uint32). It is a valid to give a NULL ptr (=> un textured). Sotred as a SmartPtr.
This is the place where you define your list of texture. This list of animated texture is serialised. AnimatedMaterial animate texture with sint32 Tracks. If the id is not found in CMaterialBase, then the CMaterial texture is left as before.
NB: id 0x7FFFFFFF is a reserved id, used as default to indicate no valid Animated texture.
Definition at line 99 of file animated_material.cpp. |
bool NL3D::CMaterialBase::validAnimatedTexture (
|
uint32 id )
|
|
Member Data Documentation
std::string NL3D::CMaterialBase::Name
|
|
The documentation for this class was generated from the following files:
|
|