Drag[en]gine Script Module DragonScript Script API  1.0
Lumimeter Class Reference

Lumimeter. More...

Inheritance diagram for Lumimeter:

Public Member Functions

Constructors
Lumimeter new ()
 Create lumimeter. More...
 
Management
DVector getPosition ()
 Position. More...
 
void setPosition (DVector position)
 Set position. More...
 
Vector getDirection ()
 Direction. More...
 
void setDirection (Vector direction)
 Set direction. More...
 
float getConeInnerAngle ()
 Cone inner angle. More...
 
void setConeInnerAngle (float angle)
 Set cone inner angle. More...
 
float getConeOuterAngle ()
 Cone outer angle. More...
 
void setConeOuterAngle (float angle)
 Set cone outer angle. More...
 
float getConeExponent ()
 Cone exponent. More...
 
void setConeExponent (float exponent)
 Set cone exponent. More...
 
Measuring
float measureLuminance ()
 Incident light intensity. More...
 
Color measureColor ()
 Incident light color. More...
 

Detailed Description

Lumimeter.

Measure light intensities in a scene to react to them in game scripts.

This is a native class.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ getConeExponent()

float getConeExponent ( )

Cone exponent.

§ getConeInnerAngle()

float getConeInnerAngle ( )

Cone inner angle.

§ getConeOuterAngle()

float getConeOuterAngle ( )

Cone outer angle.

§ getDirection()

Vector getDirection ( )

Direction.

§ getPosition()

DVector getPosition ( )

Position.

§ measureColor()

Color measureColor ( )

Incident light color.

§ measureLuminance()

float measureLuminance ( )

Incident light intensity.

§ new()

Lumimeter new ( )

Create lumimeter.

§ setConeExponent()

void setConeExponent ( float  exponent)

Set cone exponent.

§ setConeInnerAngle()

void setConeInnerAngle ( float  angle)

Set cone inner angle.

§ setConeOuterAngle()

void setConeOuterAngle ( float  angle)

Set cone outer angle.

§ setDirection()

void setDirection ( Vector  direction)

Set direction.

§ setPosition()

void setPosition ( DVector  position)

Set position.


The documentation for this class was generated from the following file: