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..."
 
28days (talk | contribs)
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|__EDIT_ME__}}
{{FuncDescription|Sets the upper ocean water color, variables are integers. Use [[RGBA]] to conversion.


{{FuncSyntax|SetOceanColor(HexColor)}}
User [[ResetOceanColor]] to restore its original colors.}}
 
{{FuncSyntax|SetOceanColor(WaveScatteringColor, WaveScatteringFade, ScatteringColor, WetColor, FogColor)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|HexColor|__EDIT_ME__}}
{{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}}
__EDIT_ME__
* [[SetOceanWaterLevel]]
* [[SetOceanColor]]
* [[ResetOceanColor]]

Latest revision as of 19:07, 18 November 2019

SetOceanColor

Type: Function
Context: Client
Introduced: v1.0

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__

See also