Click or drag to resize
AB4D logo

FreeCameraGetRotatedCamera Method

GetRotatedCamera method calculates rotatedCameraPosition, rotatedTargetPosition and rotatedUpDirection based on the rotating the camera from the initial camera position and direction.

Namespace: Ab3d.Cameras
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public void GetRotatedCamera(
	Point3D initialCameraPosition,
	Point3D initialTargetPosition,
	Vector3D initialUpDirection,
	Vector3D cameraOffset,
	double headingChange,
	double attitudeChange,
	double bankChange,
	out Point3D rotatedCameraPosition,
	out Point3D rotatedTargetPosition,
	out Vector3D rotatedUpDirection
)

Parameters

initialCameraPosition  Point3D
initial CameraPosition
initialTargetPosition  Point3D
initial TargetPosition
initialUpDirection  Vector3D
initial UpDirection
cameraOffset  Vector3D
camera Offset
headingChange  Double
heading change
attitudeChange  Double
attitude change
bankChange  Double
bank change
rotatedCameraPosition  Point3D
out parameter: rotated CameraPosition
rotatedTargetPosition  Point3D
out parameter: rotated TargetPosition
rotatedUpDirection  Vector3D
out parameter: rotated UpDirection
See Also