Table of Contents

Class PointLight

Namespace
OmegaEngine.Graphics
Assembly
OmegaEngine.dll

A light source that has a fixed position and shines uniformly in all directions.

public sealed class PointLight : LightSource, IPositionable
Inheritance
PointLight
Implements
Inherited Members
Extension Methods

Constructors

PointLight()

Creates a new point light with a Range of 1000 and no attenuation

public PointLight()

Properties

Attenuation

Factors describing the attenuation of light intensity over distance.

public Attenuation Attenuation { get; set; }

Property Value

Attenuation

DirectionalForShader

Shall this light source be converted to a pseudo-directional source for each individual PositionableRenderable before passing it to shaders?

public bool DirectionalForShader { get; set; }

Property Value

bool

Position

The position of the light source

public DoubleVector3 Position { get; set; }

Property Value

DoubleVector3

Range

The maximum distance at which the light source has an effect.

public float Range { get; set; }

Property Value

float

Shift

Stores an offset used by game logic positioning code. Ignore by the engine itself!

public Vector3 Shift { get; set; }

Property Value

Vector3