Drag[en]gine Script Module DragonScript
1.23
|
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... | |
Measure light intensities in a scene to react to them in game scripts.
This is a native class.
float Dragengine.Scenery.Lumimeter.getConeExponent | ( | ) |
Cone exponent.
float Dragengine.Scenery.Lumimeter.getConeInnerAngle | ( | ) |
Cone inner angle.
float Dragengine.Scenery.Lumimeter.getConeOuterAngle | ( | ) |
Cone outer angle.
Vector Dragengine.Scenery.Lumimeter.getDirection | ( | ) |
Direction.
DVector Dragengine.Scenery.Lumimeter.getPosition | ( | ) |
Position.
Color Dragengine.Scenery.Lumimeter.measureColor | ( | ) |
Incident light color.
float Dragengine.Scenery.Lumimeter.measureLuminance | ( | ) |
Incident light intensity.
Lumimeter Dragengine.Scenery.Lumimeter.new | ( | ) |
Create lumimeter.
void Dragengine.Scenery.Lumimeter.setConeExponent | ( | float | exponent | ) |
Set cone exponent.
void Dragengine.Scenery.Lumimeter.setConeInnerAngle | ( | float | angle | ) |
Set cone inner angle.
void Dragengine.Scenery.Lumimeter.setConeOuterAngle | ( | float | angle | ) |
Set cone outer angle.
void Dragengine.Scenery.Lumimeter.setDirection | ( | Vector | direction | ) |
Set direction.
void Dragengine.Scenery.Lumimeter.setPosition | ( | DVector | position | ) |
Set position.