CameraViewDirection Method (Axes, Point, Vector) |
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
)
Public Sub ViewDirection (
axes As Axes,
cameraPosition As Point,
direction As Vector
)
public:
void ViewDirection(
Axes^ axes,
Point^ cameraPosition,
Vector^ direction
)
member ViewDirection :
axes : Axes *
cameraPosition : Point *
direction : Vector -> 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.
See Also