# SetSkyBoxSunVisible

## Description

Sets whether the sky box will draw a sun at the location of the current directional light. It's position can be set with SetSunDirection, but it will not use the directional light color, you can set that separately with SetSkyBoxSunColor. Note that setting the sun visible changes the sky box drawing calculations to make them more complicated which may have an impact on performance.

## Definition

SetSkyBoxSunVisible( visible )

void agk::SetSkyBoxSunVisible( int visible )

## Parameters

- visible - 1 to draw the sun, 0 to hide it