Click or drag to resize

CameraViewOffsetDirection Method (Axes, Point, Vector, UnitCartesian)

Sets the camera's reference point - the point the camera is looking at. The camera's position is the reference point translated by the direction vector.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public void ViewOffsetDirection(
	Axes axes,
	Point referencePoint,
	Vector direction,
	UnitCartesian upAxis
)

Parameters

axes
Type: AGI.Foundation.GeometryAxes
The Axes of rotation. Axes will be set to this.
referencePoint
Type: AGI.Foundation.GeometryPoint
The Point that will be evaluated at the animation time to get ReferencePoint.
direction
Type: AGI.Foundation.GeometryVector
The Vector that will be evaluated at the animation time to get the direction to offset the camera position. This will be equivalent to the negative of Direction.
upAxis
Type: AGI.Foundation.CoordinatesUnitCartesian
The up direction in axes.
See Also