Skip to content

SpotLightComponent

class · namespace Hazel · Component

Inherits Component

public class SpotLightComponent : Component

Properties

Angle

public float Angle { get; set; }

AngleAttenuation

public float AngleAttenuation { get; set; }

CastsShadows

public bool CastsShadows { get; set; }

Falloff

public float Falloff { get; set; }

Intensity

public float Intensity { get; set; }

Radiance

public Vector3 Radiance { get; set; }

Range

public float Range { get; set; }

SoftShadows

public bool SoftShadows { get; set; }

Source: Hazel/Scene/Components.cs