Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Friends

Light Class Reference

#include <Light.h>

Inheritance diagram for Light:
Transformable Node

List of all members.

Public Member Functions

void setColor (vec3f ncolor)
void setColor (f32 r, f32 g, f32 b)
void setIntensity (f32 nintensity)
void setFalloff (f32 nfalloff)
vec3f getColor ()
f32 getIntensity ()
f32 getFalloff ()
void toggleIndicator (bool visible)
bool getIndicator ()
void logInfo ()

Static Public Member Functions

static void registerCommands ()

Public Attributes

vec3f color
f32 intensity
Sphere falloff

Protected Member Functions

 Light (const char *nname)
 Light (const char *nname, vec3f ncolor, f32 nintensity, f32 falloff_radius)

Friends

class SceneGraph
class Geometry

Detailed Description

Defines a point Light source node.


Member Function Documentation

void Light::toggleIndicator ( bool  visible )

Enable/disable light indicator for debugging purposes


The documentation for this class was generated from the following files:
 All Classes Functions