Definition
double GetDirectionalShadowNearClipPlane()
Description
This function returns the the near clip plane value of directional light shadow.
Return Value
The near clip plane of directional light shadow. This value is greater than zero.
Example
value = 0.0 function Init() value = GetDirectionalShadowNearClipPlane() message = string.format("\nDirectional shadow near clip plane is : %.2f" ,value) PrintConsole(message) end function Update() end
First we get the near clip plane value of direcional light shadow. Then we display the result in the console using the PrintConsole function.
GetDirectionalShadowNearClipPlane