Light - xkp/Doc GitHub Wiki

Overview

This is the base class for all lights.

Properties

  • color: Either a hexadecimal value or int value representing the light's color.
  • position: vector3d, light's position.
  • rotation: vector3d, light's rotation.
  • scale: vector3d, light's scale.