Class LightNode

java.lang.Object
limn.render3d.scene.Node
limn.render3d.scene.LightNode

public final class LightNode extends Node
A Node carrying a Light. The node's world transform is applied to the light (position as a point, direction as a direction) during traversal, so lights can be parented and moved like any other node.
  • Constructor Details

    • LightNode

      public LightNode(Light light)
      A node contributing one light, positioned by its transform.
  • Method Details

    • light

      public Light light()
      The light this node contributes.