SpotLight
A cone-shaped light that emits from a point in the direction the entity is rotated.
Properties
Name Type Description
Color Color The color of the light. Intensity Float The strength of the light. Range Float How far in world units the cone reaches before falling off to zero. Spot Angle Float The outer angle of the cone in degrees. Controls how wide the light spreads. Inner Angle Float The inner angle of the cone in degrees. Within this angle the light is at full intensity. Between the inner and outer angles it falls off. Notes
SpotLight emits light in the direction the entity faces. Rotate it in the editor to aim the cone. The forward vector of the entity determines the light direction.
The Inner Angle and Spot Angle (outer angle) pair controls the softness of the cone edge. Setting them equal produces a hard-edged cone. Setting the inner angle to roughly half the outer angle produces a natural soft falloff at the edges, which looks better for most practical lights.