Directional Light Dsl Receiver
This Interface contains all the functions that will be exposed to Koltin DSL.
Separated the DSL receiver class to this interface to avoid IDE code suggestion for property getters.
Functions
Enable/Disable shadow casting for this light
Color of the directional light.
Set the Color property transition options.
DSL for colorTransition.
Direction of the light source specified as a azimuthal angle, p polar angle where a indicates the azimuthal angle of the light relative to north (in degrees and proceeding clockwise), and p indicates polar angle of the light (from 0 degree, directly above, to 180 degree, directly below).
Set the Direction property transition options.
DSL for directionTransition.
A multiplier for the color of the directional light.
Set the Intensity property transition options.
DSL for intensityTransition.
Determines the shadow strength, affecting the shadow receiver surfaces final color. Values near 0.0 reduce the shadow contribution to the final color. Values near to 1.0 make occluded surfaces receive almost no directional light. Designed to be used mostly for transitioning between values 0 and 1.
Set the ShadowIntensity property transition options.
DSL for shadowIntensityTransition.