From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/class_NL3D__CInstanceMaterialUser.html | 849 +++++++++++++++++++++ 1 file changed, 849 insertions(+) create mode 100644 docs/doxygen/nel/class_NL3D__CInstanceMaterialUser.html (limited to 'docs/doxygen/nel/class_NL3D__CInstanceMaterialUser.html') diff --git a/docs/doxygen/nel/class_NL3D__CInstanceMaterialUser.html b/docs/doxygen/nel/class_NL3D__CInstanceMaterialUser.html new file mode 100644 index 00000000..8ef061fd --- /dev/null +++ b/docs/doxygen/nel/class_NL3D__CInstanceMaterialUser.html @@ -0,0 +1,849 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
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 Reference

UInstanceMaterial implementation. +More... +

+#include <instance_material_user.h> +

+Inheritance diagram for NL3D::CInstanceMaterialUser

Inheritance graph
+ + + +
[legend]
Collaboration diagram for NL3D::CInstanceMaterialUser:

Collaboration graph
+ + + + + + + + + + + + + +
[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] +
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 49 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+NL3D::CInstanceMaterialUser::~CInstanceMaterialUser ( + +) [inline, virtual] +
+
+ + + + + +
+   + + +

+dtor. +

+ +

+Definition at line 55 of file instance_material_user.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + +
+CRGBA NL3D::CInstanceMaterialUser::getAmbient ( + +) const [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 106 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+CRGBA NL3D::CInstanceMaterialUser::getColor ( + +void ) const [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 136 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+CRGBA NL3D::CInstanceMaterialUser::getDiffuse ( + +) const [inline, virtual] +
+
+ + + + + +
+   + + +

+return diffuse part. NB: A==opacity. +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 110 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+CRGBA NL3D::CInstanceMaterialUser::getEmissive ( + +) const [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 102 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+uint8 NL3D::CInstanceMaterialUser::getOpacity ( + +) const [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 114 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+float NL3D::CInstanceMaterialUser::getShininess ( + +) const [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 122 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+CRGBA NL3D::CInstanceMaterialUser::getSpecular ( + +) const [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 118 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+CRGBA NL3D::CInstanceMaterialUser::getUserColor ( + +) const [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 150 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+bool NL3D::CInstanceMaterialUser::isLighted ( + +) const [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 63 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+bool NL3D::CInstanceMaterialUser::isUserColor ( + +) const [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 67 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+void NL3D::CInstanceMaterialUser::setAmbient ( + +CRGBA ambient = CRGBA(0,0,0) ) [inline, virtual] +
+
+ + + + + +
+   + + +

+Set the Ambient part ot material. Usefull only if setLighting(true, false) has been done. +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 81 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+void NL3D::CInstanceMaterialUser::setColor ( + +CRGBA rgba ) [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 132 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+void NL3D::CInstanceMaterialUser::setDiffuse ( + +CRGBA diffuse = CRGBA(0,0,0) ) [inline, 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 from NL3D::UInstanceMaterial. +

+Definition at line 85 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+void NL3D::CInstanceMaterialUser::setEmissive ( + +CRGBA emissive = CRGBA(0,0,0) ) [inline, virtual] +
+
+ + + + + +
+   + + +

+Set the emissive part ot material. Usefull only if setLighting(true, false) has been done. +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 77 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+void NL3D::CInstanceMaterialUser::setOpacity ( + +uint8 opa ) [inline, virtual] +
+
+ + + + + +
+   + + +

+Set the Opacity part ot material. Usefull only if setLighting(true, false) has been done. +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 89 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+void NL3D::CInstanceMaterialUser::setShininess ( + +float shininess ) [inline, virtual] +
+
+ + + + + +
+   + + +

+Set the shininess part ot material. Usefull only if setLighting(true, false) has been done. +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 97 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+void NL3D::CInstanceMaterialUser::setSpecular ( + +CRGBA specular = CRGBA(0,0,0) ) [inline, virtual] +
+
+ + + + + +
+   + + +

+Set the specular part ot material. Usefull only if setLighting(true, false) has been done. +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 93 of file instance_material_user.h.

+

+ + + + +
+ + + + + + +
+void NL3D::CInstanceMaterialUser::setUserColor ( + +CRGBA userColor ) [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::UInstanceMaterial. +

+Definition at line 145 of file instance_material_user.h.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+CMaterial * NL3D::CInstanceMaterialUser::_Material [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 161 of file instance_material_user.h.

+


The documentation for this class was generated from the following file: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1