Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Scenery.Lumimeter Class Reference

Lumimeter. More...

Inheritance diagram for Dragengine.Scenery.Lumimeter:

Public Member Functions

Constructors
Lumimeter new ()
 Create lumimeter.
Management
DVector getPosition ()
 Position.
void setPosition (DVector position)
 Set position.
Vector getDirection ()
 Direction.
void setDirection (Vector direction)
 Set direction.
float getConeInnerAngle ()
 Cone inner angle.
void setConeInnerAngle (float angle)
 Set cone inner angle.
float getConeOuterAngle ()
 Cone outer angle.
void setConeOuterAngle (float angle)
 Set cone outer angle.
float getConeExponent ()
 Cone exponent.
void setConeExponent (float exponent)
 Set cone exponent.
World getParentWorld ()
 Parent world or null if not added to a world.
Measuring
float measureLuminance ()
 Incident light intensity.
Color measureColor ()
 Incident light color.

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.

References setConeInnerAngle().

Referenced by getParentWorld().

◆ getConeInnerAngle()

float Dragengine.Scenery.Lumimeter.getConeInnerAngle ( )

Cone inner angle.

Referenced by getConeOuterAngle().

◆ getConeOuterAngle()

float Dragengine.Scenery.Lumimeter.getConeOuterAngle ( )

Cone outer angle.

References getConeInnerAngle().

Referenced by setConeExponent().

◆ getDirection()

Vector Dragengine.Scenery.Lumimeter.getDirection ( )

Direction.

References setPosition().

Referenced by setDirection().

◆ getParentWorld()

World Dragengine.Scenery.Lumimeter.getParentWorld ( )

Parent world or null if not added to a world.

Version
1.29

References getConeExponent(), and setConeOuterAngle().

Referenced by measureColor().

◆ getPosition()

DVector Dragengine.Scenery.Lumimeter.getPosition ( )

Position.

References getPosition().

Referenced by getPosition().

◆ measureColor()

Color Dragengine.Scenery.Lumimeter.measureColor ( )

Incident light color.

References getParentWorld(), measureColor(), and measureLuminance().

Referenced by measureColor().

◆ measureLuminance()

float Dragengine.Scenery.Lumimeter.measureLuminance ( )

Incident light intensity.

References setConeExponent().

Referenced by measureColor().

◆ new()

Lumimeter Dragengine.Scenery.Lumimeter.new ( )

Create lumimeter.

References new().

Referenced by new().

◆ setConeExponent()

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

Set cone exponent.

References getConeOuterAngle().

Referenced by measureLuminance().

◆ setConeInnerAngle()

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

Set cone inner angle.

References setDirection().

Referenced by getConeExponent().

◆ setConeOuterAngle()

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

Set cone outer angle.

Referenced by getParentWorld().

◆ setDirection()

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

Set direction.

References getDirection().

Referenced by setConeInnerAngle().

◆ setPosition()

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

Set position.

Referenced by getDirection().


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