Directional Light Constructor Todo
Creates a new ThreeJS DirectionalLight.
Description
A light that gets emitted in a specific direction. This light will behave as though it is infinitely far away and the rays produced from it are all parallel. The common use case for this is to simulate daylight; the sun is far enough away that its position can be considered to be infinite, and all light rays coming from it are parallel.
Inputs
- object3d (object3D)
- color (Color): (optional) hexadecimal color of the light. Default is 0xffffff (white).
- intensity (Number): (optional) numeric value of the light's strength/intensity. Default is 1.
Outputs
- directionalLight (ThreeJSDirectionalLight)