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 Default value: false.
Color of the directional light. Default value: "#ffffff".
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). Default value: 210,30. Minimum value: 0,0. Maximum value: 360,90.
Set the Direction property transition options.
DSL for directionTransition.
A multiplier for the color of the directional light. Default value: 0.5. Value range: 0, 1
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. Default value: 1. Value range: 0, 1
Set the ShadowIntensity property transition options.
DSL for shadowIntensityTransition.