Click or drag to resize
DigitalRuneDecalRendererClipAtNearPlane Property
Gets or sets a value indicating whether decals may be clipped which intersect the camera near plane. (Performance optimization)

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

Property Value

Type: Boolean
if whole decals are clipped when they intersect the camera near plane; otherwise, . The default value is .
Remarks
When this value is , whole decals may "disappear" when the camera comes near the decal bounding box and the camera frustum near plane intersects the decal bounding box. This behavior is beneficial for performance and is usually not a problem when the decal bounding box is thin. Also, in most games the camera will always keep some distance to other objects including decals. However, this property can be set to to draw the decals in all cases with a small performance hit.
See Also