Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.Lumimeter Class Reference

Lumimeter. More...

Inheritance diagram for Dragengine.Scenery.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.

Member Function Documentation

◆ getConeExponent()

float Dragengine.Scenery.Lumimeter.getConeExponent ( )

Cone exponent.

◆ getConeInnerAngle()

float Dragengine.Scenery.Lumimeter.getConeInnerAngle ( )

Cone inner angle.

◆ getConeOuterAngle()

float Dragengine.Scenery.Lumimeter.getConeOuterAngle ( )

Cone outer angle.

◆ getDirection()

Vector Dragengine.Scenery.Lumimeter.getDirection ( )

Direction.

◆ getPosition()

DVector Dragengine.Scenery.Lumimeter.getPosition ( )

Position.

◆ measureColor()

Color Dragengine.Scenery.Lumimeter.measureColor ( )

Incident light color.

◆ measureLuminance()

float Dragengine.Scenery.Lumimeter.measureLuminance ( )

Incident light intensity.

◆ new()

Lumimeter Dragengine.Scenery.Lumimeter.new ( )

Create lumimeter.

◆ setConeExponent()

void Dragengine.Scenery.Lumimeter.setConeExponent ( float  exponent)

Set cone exponent.

◆ setConeInnerAngle()

void Dragengine.Scenery.Lumimeter.setConeInnerAngle ( float  angle)

Set cone inner angle.

◆ setConeOuterAngle()

void Dragengine.Scenery.Lumimeter.setConeOuterAngle ( float  angle)

Set cone outer angle.

◆ setDirection()

void Dragengine.Scenery.Lumimeter.setDirection ( Vector  direction)

Set direction.

◆ setPosition()

void Dragengine.Scenery.Lumimeter.setPosition ( DVector  position)

Set position.


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