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 then the specified value. Default value is NaN.

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

Property Value

Type: Single
Remarks

When MinNearPlaneDistance is set to any positive value and OptimizeNearAndFarCameraPlanes is true, the calculated near plane distance is never smaller then 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