Click or drag to resize
Ab4d.SharpEngine logo

CameraSetPlaneDistances 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: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public 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

Implements

IAutomaticNearFarPlaneCameraSetPlaneDistances(Single, Single, Boolean)
See Also