CameraViewOffsetDirection Method (Axes, Point, Vector) |
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.3.420.0 (24.3.420.0)
Syntax public void ViewOffsetDirection(
Axes axes,
Point referencePoint,
Vector direction
)
Public Sub ViewOffsetDirection (
axes As Axes,
referencePoint As Point,
direction As Vector
)
public:
void ViewOffsetDirection(
Axes^ axes,
Point^ referencePoint,
Vector^ direction
)
member ViewOffsetDirection :
axes : Axes *
referencePoint : Point *
direction : Vector -> unit
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.
See Also