|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CInstanceMaterialUser Class ReferenceUInstanceMaterial implementation.
More...
#include <instance_material_user.h>
Inheritance diagram for NL3D::CInstanceMaterialUser
[legend]Collaboration diagram for NL3D::CInstanceMaterialUser:
[legend]List of all members.
Public Methods |
| CInstanceMaterialUser (CMaterial *mat) |
| Constructor. More...
|
virtual | ~CInstanceMaterialUser () |
| dtor. More...
|
virtual bool | isLighted () const |
virtual bool | isUserColor () const |
virtual void | setEmissive ( CRGBA emissive=CRGBA(0,0,0) ) |
| Set the emissive part ot material. Usefull only if setLighting(true, false) has been done. More...
|
virtual void | setAmbient ( CRGBA ambient=CRGBA(0,0,0) ) |
| Set the Ambient part ot material. Usefull only if setLighting(true, false) has been done. More...
|
virtual void | setDiffuse ( CRGBA diffuse=CRGBA(0,0,0) ) |
| Set the Diffuse part ot material. Usefull only if setLighting(true, false) has been done. NB: opacity is NOT copied from diffuse.A. More...
|
virtual void | setOpacity ( uint8 opa ) |
| Set the Opacity part ot material. Usefull only if setLighting(true, false) has been done. More...
|
virtual void | setSpecular ( CRGBA specular=CRGBA(0,0,0) ) |
| Set the specular part ot material. Usefull only if setLighting(true, false) has been done. More...
|
virtual void | setShininess ( float shininess ) |
| Set the shininess part ot material. Usefull only if setLighting(true, false) has been done. More...
|
virtual CRGBA | getEmissive () const |
virtual CRGBA | getAmbient () const |
virtual CRGBA | getDiffuse () const |
| return diffuse part. NB: A==opacity. More...
|
virtual uint8 | getOpacity () const |
virtual CRGBA | getSpecular () const |
virtual float | getShininess () const |
virtual void | setColor (CRGBA rgba) |
virtual CRGBA | getColor (void) const |
virtual void | setUserColor (CRGBA userColor) |
virtual CRGBA | getUserColor () const |
Private Attributes |
CMaterial* | _Material |
Detailed Description
UInstanceMaterial implementation.
-
Author(s):
-
Lionel Berenguier , Nevrax France
-
Date:
-
2001
Definition at line 45 of file instance_material_user.h.
Constructor & Destructor Documentation
NL3D::CInstanceMaterialUser::CInstanceMaterialUser (
|
CMaterial * mat ) [inline]
|
|
NL3D::CInstanceMaterialUser::~CInstanceMaterialUser (
|
) [inline, virtual]
|
|
Member Function Documentation
CRGBA NL3D::CInstanceMaterialUser::getAmbient (
|
) const [inline, virtual]
|
|
CRGBA NL3D::CInstanceMaterialUser::getColor (
|
void ) const [inline, virtual]
|
|
CRGBA NL3D::CInstanceMaterialUser::getDiffuse (
|
) const [inline, virtual]
|
|
CRGBA NL3D::CInstanceMaterialUser::getEmissive (
|
) const [inline, virtual]
|
|
uint8 NL3D::CInstanceMaterialUser::getOpacity (
|
) const [inline, virtual]
|
|
float NL3D::CInstanceMaterialUser::getShininess (
|
) const [inline, virtual]
|
|
CRGBA NL3D::CInstanceMaterialUser::getSpecular (
|
) const [inline, virtual]
|
|
CRGBA NL3D::CInstanceMaterialUser::getUserColor (
|
) const [inline, virtual]
|
|
bool NL3D::CInstanceMaterialUser::isLighted (
|
) const [inline, virtual]
|
|
bool NL3D::CInstanceMaterialUser::isUserColor (
|
) const [inline, virtual]
|
|
void NL3D::CInstanceMaterialUser::setAmbient (
|
CRGBA ambient = CRGBA(0,0,0) ) [inline, virtual]
|
|
void NL3D::CInstanceMaterialUser::setColor (
|
CRGBA rgba ) [inline, virtual]
|
|
void NL3D::CInstanceMaterialUser::setDiffuse (
|
CRGBA diffuse = CRGBA(0,0,0) ) [inline, virtual]
|
|
void NL3D::CInstanceMaterialUser::setEmissive (
|
CRGBA emissive = CRGBA(0,0,0) ) [inline, virtual]
|
|
void NL3D::CInstanceMaterialUser::setOpacity (
|
uint8 opa ) [inline, virtual]
|
|
void NL3D::CInstanceMaterialUser::setShininess (
|
float shininess ) [inline, virtual]
|
|
void NL3D::CInstanceMaterialUser::setSpecular (
|
CRGBA specular = CRGBA(0,0,0) ) [inline, virtual]
|
|
void NL3D::CInstanceMaterialUser::setUserColor (
|
CRGBA userColor ) [inline, virtual]
|
|
Member Data Documentation
CMaterial * NL3D::CInstanceMaterialUser::_Material [private]
|
|
The documentation for this class was generated from the following file:
|
|