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.3.420.0 (24.3.420.0)
Syntax public void ViewDirection(
Axes axes,
Point cameraPosition,
Vector direction,
UnitCartesian upAxis
)
Public Sub ViewDirection (
axes As Axes,
cameraPosition As Point,
direction As Vector,
upAxis As UnitCartesian
)
public:
void ViewDirection(
Axes^ axes,
Point^ cameraPosition,
Vector^ direction,
UnitCartesian upAxis
)
member ViewDirection :
axes : Axes *
cameraPosition : Point *
direction : Vector *
upAxis : UnitCartesian -> unit
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