SetSunRadius: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
{{FuncParam|radius|A float value between 0.0 and 10.0, default: 0.5357}}
{{FuncParam|radius|A float value between 0.0 and 10.0, default: 0.5357}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true'''.}}


== Example ==
== Example ==
Line 18: Line 18:


{{RelatedFunctions}}
{{RelatedFunctions}}
* [[SetSunAzimuth]]
* [[GetSunRadius]]
* [[SetSunRadius]]
* [[SetSunShine]]
* [[SetSunLightIntensity]]

Latest revision as of 09:34, 1 September 2020

SetSunRadius

Type: Function
Context: Client
Introduced: v1.0

Description

Set the specified radius of the sun for the client.

Syntax

SetSunRadius(radius)

Parameters

  • radius
    A float value between 0.0 and 10.0, default: 0.5357

Return Value

  • Returns true.

Example

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

See also