GetDirectionalShadowFarClipPlane

Definition

double GetDirectionalShadowFarClipPlane()

Description

This function returns the far clip plane value of directional light shadow.

Return Value

The far clip plane value of directional light shadow. This value is greater than zero.

Example

value = 0.0

function Init()
    value = GetDirectionalShadowFarClipPlane()

    message = string.format("\nDirectional shadow far clip plane is : %.2f" ,value)
    PrintConsole(message)
end

function Update()

end
First we get the far clip plane value of direcional light shadow. Then we display the result in the console using the PrintConsole function.
adminGetDirectionalShadowFarClipPlane