Click or drag to resize
Ab4d.SharpEngine logo

CameraMinNearPlaneDistance Property

When MinNearPlaneDistance is set to any value that is not float.NaN and IsAutomaticNearPlaneDistanceCalculation is true, the calculated near plane distance is never smaller then the specified value. Default value is NaN.

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public float MinNearPlaneDistance { get; set; }

Property Value

Single

[Missing <value> documentation for "P:Ab4d.SharpEngine.Cameras.Camera.MinNearPlaneDistance"]

Implements

IAutomaticNearFarPlaneCameraMinNearPlaneDistance
Remarks

When MinNearPlaneDistance is set to any value that is not float.NaN and IsAutomaticNearPlaneDistanceCalculation 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