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