| ProjectedGridParametersOffset Property |
Gets or sets the camera offset.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float Offset { get; set; }
Public Property Offset As Single
Get
Set
public:
property float Offset {
float get ();
void set (float value);
}
member Offset : float32 with get, set
Property Value
Type:
SingleThe 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