Skip to content

function setFogColor (client-side)

Available since version: 0.3.0

This method will set the sky fog color day variation.

Declaration

void setFogColor(int id, int r, int g, int b)

Parameters

  • int id: The id of fog color day variation.
  • int r: The red color component in RGB model.
  • int g: The green color component in RGB model.
  • int b: The blue color component in RGB model.