| ProjectedGridParametersEdgeAttenuation Property |
Gets or sets the edge attenuation.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float EdgeAttenuation { get; set; }
Public Property EdgeAttenuation As Single
Get
Set
public:
property float EdgeAttenuation {
float get ();
void set (float value);
}
member EdgeAttenuation : float32 with get, set
Property Value
Type:
SingleThe edge attenuation in [0, 1] relative to the whole projected grid.
Remarks
If the projected grid is displaced in world space, the displacement fades out near the
borders of the projected grid. This helps to hide any artifacts which could occur near
the grid borders (e.g. the grid border being displaced into the visible field of view).
An EdgeAttenuation of 0.01 means that the displacement fades out in the outer
1 % of the grid.
See Also