Changeset 7401 for code/trunk/src/orxonox/graphics
- Timestamp:
- Sep 11, 2010, 12:34:00 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/doc (added) merged: 7290-7292,7296-7300,7302-7304,7306-7312,7315-7318,7323,7325,7327,7331-7332,7334-7335,7345-7347,7352-7353,7356-7357,7361,7363-7367,7371-7375,7388
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/graphics/Light.h
r7163 r7401 83 83 /** 84 84 @brief Sets the attenuation parameters of the light source i.e. how it diminishes with distance. 85 @param attenuation The parameters of the attenuation (see description) 85 86 86 @paramattenuation.x range (The absolute upper range of the light in world units)87 @paramattenuation.y constant (The constant factor in the attenuation formula: 1.0 means never attenuate, 0.0 is complete attenuation)88 @paramattenuation.z linear (The linear factor in the attenuation formula: 1 means attenuate evenly over the distance)89 @paramattenuation.w quadratic (The quadratic factor in the attenuation formula: adds a curvature to the attenuation formula)87 - @a attenuation.x range (The absolute upper range of the light in world units) 88 - @a attenuation.y constant (The constant factor in the attenuation formula: 1.0 means never attenuate, 0.0 is complete attenuation) 89 - @a attenuation.z linear (The linear factor in the attenuation formula: 1 means attenuate evenly over the distance) 90 - @a attenuation.w quadratic (The quadratic factor in the attenuation formula: adds a curvature to the attenuation formula) 90 91 91 92 Quote from the Ogre API: … … 120 121 /** 121 122 @brief Sets the range of a spotlight, i.e. the angle of the inner and outer cones and the rate of falloff between them. 122 123 @param spotlightRange.x innerAngle (The angle covered by the bright inner cone) 124 @param spotlightRange.x outerAngle (The angle covered by the outer cone) 125 @param spotlightRange.x falloff (The rate of falloff between the inner and outer cones. 1.0 means a linear falloff, less means slower falloff, higher means faster falloff.) 123 @param spotlightRange The parameters of the spotlight (see description) 124 125 - @a spotlightRange.x innerAngle (The angle covered by the bright inner cone) 126 - @a spotlightRange.x outerAngle (The angle covered by the outer cone) 127 - @a spotlightRange.x falloff (The rate of falloff between the inner and outer cones. 1.0 means a linear falloff, less means slower falloff, higher means faster falloff.) 126 128 */ 127 129 inline void setSpotlightRange(const Vector3& spotlightRange)
Note: See TracChangeset
for help on using the changeset viewer.