Click or drag to resize
AB4D logo

DXSceneMinNearPlaneDistance Property

When MinNearPlaneDistance is set to any positive value and OptimizeNearAndFarCameraPlanes is true, the calculated near plane distance is never smaller than the specified value. Default value is NaN.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public float MinNearPlaneDistance { get; set; }

Property Value

Single
Remarks

When MinNearPlaneDistance is set to any positive value and OptimizeNearAndFarCameraPlanes is true, the calculated near plane distance is never smaller than the specified value.

This value defines how close to the camera the objects are still rendered - positions that are closer to the camera then the MinNearPlaneDistance are not rendered. Setting this value to a value that is bigger then the calculated NearPlaneDistance increase the resolution of depth buffer and can prevent z-fighting problems.

Default value is NaN.

See Also