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

NBFLightSource Struct Reference

The NBFLightSource structure represents a light source node. More...

#include <NBF.h>

Inheritance diagram for NBFLightSource:

Inheritance graph
[legend]
Collaboration diagram for NBFLightSource:

Collaboration graph
[legend]
List of all members.

Public Attributes

float intensity
 Specifies the light intensity. More...

float3_t ambientColor
 Specifies the ambient color term of the light. More...

float3_t diffuseColor
 Specifies the diffuse color term of the light. More...

float3_t specularColor
 Specifies the specular color term of the light. More...

trafo_t trafo
 Specifies how to position the light in world space. More...

uint_t animation
 Specifies the file offset to an optional NBFTrafoAnimation object to be applied to the light transform (orientation and translation). More...


Detailed Description

The NBFLightSource structure represents a light source node.

A NBFLightSource serves as base class only. Concrete object codes valid for a NBFLightSource are NBF_DIRECTED_LIGHT, NBF_POINT_LIGHT, and NBF_SPOT_LIGHT.


Member Data Documentation

float NBFLightSource::intensity
 

Specifies the light intensity.

float3_t NBFLightSource::ambientColor
 

Specifies the ambient color term of the light.

float3_t NBFLightSource::diffuseColor
 

Specifies the diffuse color term of the light.

float3_t NBFLightSource::specularColor
 

Specifies the specular color term of the light.

trafo_t NBFLightSource::trafo
 

Specifies how to position the light in world space.

uint_t NBFLightSource::animation
 

Specifies the file offset to an optional NBFTrafoAnimation object to be applied to the light transform (orientation and translation).


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