Hierarchy

  • PBSpotlight

Properties

Properties

angle: number

the cone radius in radians. distance away from forward in which the light is visible. for a torch a value around 0.15 is appropriate.

innerAngle?: number

optional angle at which the light is brightest. should be <= outer angle. if specified, the light will fall off smoothly between inner_angle and angle.