Changeset 7297 for code/branches/doc/src/orxonox/graphics
- Timestamp:
- Aug 31, 2010, 8:37:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/src/orxonox/graphics/Light.h
r7163 r7297 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.