Click or drag to resize
Ab4d.SharpEngine logo

IAutomaticNearFarPlaneCameraMaxFarPlaneDistance Property

When MaxFarPlaneDistance is set to any value that is not float.NaN and IsAutomaticFarPlaneDistanceCalculation is true, the calculated far plane distance is never bigger then the specified value. This value must be bigger then MinNearPlaneDistance or its value is not used. Default value is NaN.

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
float MaxFarPlaneDistance { get; set; }

Property Value

Single
Remarks

When MaxFarPlaneDistance is set to any value that is not float.NaN and IsAutomaticFarPlaneDistanceCalculation is true, the calculated far plane distance is never bigger then the specified value.

This value must be bigger then MinNearPlaneDistance or its value is not used.

This value defines how far from the camera the objects are still rendered - positions that are farther away from the camera then the MaxFarPlaneDistance are not rendered.

Default value is NaN.

See Also