PointLightclass

Emits light in all directions from a point in space.

object→Light→PointLight
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public class Sandbox.PointLight : Sandbox.Light

Constructors1

Showing 1 constructors

Methods3

Showing 3 methods

protected virtual void DrawGizmos()PROTECTEDVIRTUAL

Returns:void—

protected virtual void OnAwake()PROTECTEDVIRTUALLIFECYCLE

Returns:void—

Properties4

Showing 4 properties

public float Sandbox.PointLight.Attenuation { get; set; }PUBLICGETSET

Returns:float—

public float Sandbox.PointLight.ConstantAttenuation { get; set; }PUBLICGETSET

Constant term in the light's distance attenuation denominator.

Returns:float—

public float Sandbox.PointLight.LinearAttenuation { get; set; }PUBLICGETSET

Linear term in the light's distance attenuation denominator.

Returns:float—

public float Sandbox.PointLight.Radius { get; set; }PUBLICGETSET

Returns:float—

On this page