Click or drag to resize
DigitalRuneProjectedGridParametersOffset Property
Gets or sets the camera offset.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float Offset { get; set; }

Property Value

Type: Single
The camera offset. Must be a positive value.
Remarks
This offset is used to move the camera which projects the grid behind the player camera. This will cause part of the grid to be outside of the player camera's field of view. This additional border is needed when the grid points are displaced using a displacement map. Without the camera offset, the grid edge could be visible in the player's field of view.
See Also