Click or drag to resize

CameraViewDirection Method (Axes, Point, Vector, UnitCartesian)

Views from a point to a direction. Sets the camera's position and the direction vector indicating where the camera is looking.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public void ViewDirection(
	Axes axes,
	Point cameraPosition,
	Vector direction,
	UnitCartesian upAxis
)

Parameters

axes
Type: AGI.Foundation.GeometryAxes
The Axes of rotation. Axes will be set to this.
cameraPosition
Type: AGI.Foundation.GeometryPoint
The Point that will be evaluated at the animation time to get Position.
direction
Type: AGI.Foundation.GeometryVector
The Vector that will be evaluated at the animation time to get Direction.
upAxis
Type: AGI.Foundation.CoordinatesUnitCartesian
The up direction in axes.
See Also