SetOceanColor: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetOceanColor(HexColor)}} {{FuncParameters}} {{FuncParam|HexColor|__EDIT_ME__}} {{FuncReturnValue..." |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Sets the upper ocean water color, variables are integers. Use [[RGBA]] to conversion. | ||
{{FuncSyntax|SetOceanColor( | User [[ResetOceanColor]] to restore its original colors.}} | ||
{{FuncSyntax|SetOceanColor(WaveScatteringColor, WaveScatteringFade, ScatteringColor, WetColor, FogColor)}} | |||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam| | {{FuncParam|WaveScatteringColor|__EDIT_ME__}} | ||
{{FuncParam|WaveScatteringFade|__EDIT_ME__}} | |||
{{FuncParam|ScatteringColor|__EDIT_ME__}} | |||
{{FuncParam|WetColor|__EDIT_ME__}} | |||
{{FuncParam|FogColor|__EDIT_ME__}} | |||
{{FuncReturnValue|__EDIT_ME__}} | {{FuncReturnValue|__EDIT_ME__}} | ||
Line 14: | Line 20: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[SetOceanWaterLevel]] | |||
* [[SetOceanColor]] | |||
* [[ResetOceanColor]] |
Latest revision as of 19:07, 18 November 2019
Description
Sets the upper ocean water color, variables are integers. Use RGBA to conversion.
User ResetOceanColor to restore its original colors.
Syntax
SetOceanColor(WaveScatteringColor, WaveScatteringFade, ScatteringColor, WetColor, FogColor)
Parameters
- WaveScatteringColor
__EDIT_ME__ - WaveScatteringFade
__EDIT_ME__ - ScatteringColor
__EDIT_ME__ - WetColor
__EDIT_ME__ - FogColor
__EDIT_ME__
Return Value
- __EDIT_ME__
Example
__EDIT_ME__