Lysa.nodes  0.0
Lysa 3D Engine
SpotLight Struct Reference

Detailed Description

A spot light that emits within a cone defined by inner and outer cutoff angles.

Inherits from: OmniLight

Lua full name: lysa.nodes.SpotLight

Properties

number cut_off
 Inner cutoff boundary of the spotlight cone, stored as the cosine of the half-angle (not degrees).
 
number outer_cut_off
 Outer cutoff boundary; fragments beyond this angle receive no light, stored as cosine of the half-angle (not degrees).
 

Property Documentation

number cut_off

Inner cutoff boundary of the spotlight cone, stored as the cosine of the half-angle (not degrees).

number outer_cut_off

Outer cutoff boundary; fragments beyond this angle receive no light, stored as cosine of the half-angle (not degrees).