Skip to content

function setPlanetColor (client-side)

Available since version: 0.3.0

This method will set the planet color.

Declaration

void setPlanetColor(int planetId, int r, int g, int b, int a)

Parameters

  • int planetId: The planet id, for more information see Planet constants.
  • int r: The red color component in RGBA model.
  • int g: The green color component in RGBA model.
  • int b: The blue color component in RGBA model.
  • int a: The alpha color component in RGBA model.