Click or drag to resize
Ab4d.SharpEngine logo

IAutomaticNearFarPlaneCameraSetPlaneDistances Method

SetPlaneDistances method is used to set NearPlaneDistance and FarPlaneDistance after the values are automatically calculated. Bases on the value of IsCameraChangedRaisedOnAutomaticPlaneDistanceCalculation the CameraChanged event is raised.

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
void SetPlaneDistances(
	float nearPlaneDistance,
	float farPlaneDistance,
	bool isAutomaticallyCalculated
)

Parameters

nearPlaneDistance  Single
new NearPlaneDistance
farPlaneDistance  Single
new FarPlaneDistance
isAutomaticallyCalculated  Boolean
true if the values are automatically calculated
See Also