From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNL3D_1_1ILogicInfo.html | 228 ++++++++++++++++++++++++++ 1 file changed, 228 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1ILogicInfo.html (limited to 'docs/doxygen/nel/classNL3D_1_1ILogicInfo.html') diff --git a/docs/doxygen/nel/classNL3D_1_1ILogicInfo.html b/docs/doxygen/nel/classNL3D_1_1ILogicInfo.html new file mode 100644 index 00000000..38d1e011 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1ILogicInfo.html @@ -0,0 +1,228 @@ + + + + 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::ILogicInfo Class Reference

An interface for UScene to retrieve client information for a specified UTransform ( see UTransfrom::setLogicInfo() ). +More... +

+#include <logic_info.h> +

+List of all members. + + + + + + +

Public Methods

 ILogicInfo ()
 Constructor. More...

virtual ~ILogicInfo ()
virtual void getStaticLightSetup (std::vector< CPointLightInfluence > &pointLightList, uint8 &sunContribution, NLMISC::CRGBA &localAmbient)=0
 This method must return the static light setup which influence the object attached with this ILogicInfo pointLightList.size() may not be 0. More...

+


Detailed Description

+An interface for UScene to retrieve client information for a specified UTransform ( see UTransfrom::setLogicInfo() ). +

+implemented by user. typically, methods are called during UScene::render() and are called only if necessary (typically after clip). +

+

+Author:
+Lionel Berenguier , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 51 of file logic_info.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::ILogicInfo::ILogicInfo  
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 34 of file logic_info.cpp. +

+References NL3D_MEM_LOGIC.

+

+ + + + +
+ + + + + + + + + +
NL3D::ILogicInfo::~ILogicInfo   [virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 38 of file logic_info.cpp. +

+References NL3D_MEM_LOGIC.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
virtual void NL3D::ILogicInfo::getStaticLightSetup std::vector< CPointLightInfluence > &   pointLightList,
uint8  sunContribution,
NLMISC::CRGBA  localAmbient
[pure virtual]
+
+ + + + + +
+   + + +

+This method must return the static light setup which influence the object attached with this ILogicInfo pointLightList.size() may not be 0. +

+Deriver should just append his light and do not clear this list. +

+NB: called by CLightingManager::computeModelLightContributions() when needed

+Parameters:
+ + + + +
pointLightList  +append to this list static pointLights which may influence this object.
sunContribution  +contribution factor of the sun to apply to the transform.
localAmbient  +ig or landscape may replace sunAmbient with their special ambient. localAmbient.A tells the fraction of this color to take (255 => full contribution of the localAmbient, and no contribution of the ambient of the sun)
+
+


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