SetOceanColor: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|Sets the upper ocean water color, variables are integers. Use [[RGBA]] to conversion.}}
{{FuncDescription|Sets the upper ocean water color, variables are integers. Use [[RGBA]] to conversion.
 
User [[ResetOceanColor]] to restore its original colors.}}


{{FuncSyntax|SetOceanColor(WaveScatteringColor, WaveScatteringFade, ScatteringColor, WetColor, FogColor)}}
{{FuncSyntax|SetOceanColor(WaveScatteringColor, WaveScatteringFade, ScatteringColor, WetColor, FogColor)}}

Revision as of 14:19, 4 September 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

__EDIT_ME__