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/a03863.html | 172 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 172 insertions(+) create mode 100644 docs/doxygen/nel/a03863.html (limited to 'docs/doxygen/nel/a03863.html') diff --git a/docs/doxygen/nel/a03863.html b/docs/doxygen/nel/a03863.html new file mode 100644 index 00000000..7bac90b9 --- /dev/null +++ b/docs/doxygen/nel/a03863.html @@ -0,0 +1,172 @@ + + +NeL: NL3D::ILogicInfo class Reference + + + +
+

NL3D::ILogicInfo Class Reference

#include <logic_info.h> +

+


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. + + + + + + + + + +

Public Member Functions

virtual void getStaticLightSetup (std::vector< CPointLightInfluence > &pointLightList, uint8 &sunContribution, NLMISC::CRGBA &localAmbient)=0
 ILogicInfo ()
 Constructor.

virtual ~ILogicInfo ()
+


Constructor & Destructor Documentation

+

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

+Constructor. +

+ +

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

+References NL3D_MEM_LOGIC. +

+

00035 {
+00036         NL3D_MEM_LOGIC
+00037 }
+
+

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

+ +

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

+References NL3D_MEM_LOGIC. +

+

00039 {
+00040         NL3D_MEM_LOGIC
+00041 }
+
+


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)
+
+ +

+Referenced by NL3D::CLightingManager::computeModelLightContributions().

+


The documentation for this class was generated from the following files: +
Generated on Tue Mar 16 08:38:44 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1