Click or drag to resize
AB4D logo

FreeCameraSetTargetPosition Method

SetTargetPosition method preserves the current CameraPosition and sets the TargetPosition and the UpDirection based on the specified heading, attitude, bank and distance values.

Namespace: Ab3d.Cameras
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public void SetTargetPosition(
	double heading,
	double attitude,
	double bank,
	double distance
)

Parameters

heading  Double
heading in degrees
attitude  Double
attitude in degrees
bank  Double
bank in degrees
distance  Double
distance from CameraPosition to TargetPosition
See Also