SetSunRadius: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 19: Line 19:
{{RelatedFunctions}}
{{RelatedFunctions}}
* [[SetSunAzimuth]]
* [[SetSunAzimuth]]
* [[SetSunRadius]]
* [[SetSunShine]]
* [[SetSunLightIntensity]]

Revision as of 05:01, 17 November 2019

SetSunRadius

Type: Function
Context: Client
Introduced: v1.0

Description

Set the specified radius of the sun for the client.

Syntax

SetSunRadius(radius)

Parameters

  • radius
    The float value between 0.0 to 4.0.

Return Value

  • __EDIT_ME__

Example

AddEvent("OnPlayerSpawn", function()
	SetSunRadius(4.0)
end)

See also