SetOceanColor

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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