Gets or sets the projection.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.0.0.0 (1.0.0.9509)

Syntax

C#
public Projection Projection { get; set; }
Visual Basic
Public Property Projection As Projection
	Get
	Set
Visual C++
public:
property Projection^ Projection {
	Projection^ get ();
	void set (Projection^ value);
}

Field Value

The projection of the projector. The default value is a new PerspectiveProjection.

Remarks

The intensity of the light continually decreases from the light's origin up to the far distance specified in the projection. At the far plane the light intensity is 0. Attenuation the shape of the attenuation curve. See also GetDistanceAttenuation(Single, Single, Single).

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionvalue is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also