Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NBFSpotLight Struct Reference

#include <NBF.h>

Inheritance diagram for NBFSpotLight:

Inheritance graph
[legend]
Collaboration diagram for NBFSpotLight:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PADDING (4)
 Padding bits to ensure the size of NBFSpotLight is a multiple of 8, regardless of packing.

Public Attributes

float3_t attenuation
float cutoffAngle
float falloffExponent
 Controls the intensity distribution inside the cone, the light is mitted to.

Detailed Description

The object code for a NBFSpotLight is NBF_SPOT_LIGHT.


Member Function Documentation

NBFSpotLight::PADDING  ) 
 

Padding bits to ensure the size of NBFSpotLight is a multiple of 8, regardless of packing.

Reimplemented from NBFObject.


Member Data Documentation

float3_t NBFSpotLight::attenuation
 

Specifies the attenuation factors of the spot light. The x-component of the vector specifies the constant term of the attenuation, the y-component of the vector specifies the linear term of the attenuation, and the z-component of the vector specifies the quadratic term of the attenuation.

float NBFSpotLight::cutoffAngle
 

Specifies the angle between the axis of the cone, the light is emitted to, and a ray along the edge of the cone.

float NBFSpotLight::falloffExponent
 

Controls the intensity distribution inside the cone, the light is mitted to.


The documentation for this struct was generated from the following file:
Generated on Tue Mar 1 13:20:31 2005 for NVSGSDK by NVIDIA