CameraViewOffset Method (Axes, Point, Cartesian, 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 offset.
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 ViewOffset(
Axes axes,
Point referencePoint,
Cartesian offset,
UnitCartesian upAxis
)
Public Sub ViewOffset (
axes As Axes,
referencePoint As Point,
offset As Cartesian,
upAxis As UnitCartesian
)
public:
void ViewOffset(
Axes^ axes,
Point^ referencePoint,
Cartesian offset,
UnitCartesian upAxis
)
member ViewOffset :
axes : Axes *
referencePoint : Point *
offset : Cartesian *
upAxis : UnitCartesian -> 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. - offset
- Type: AGI.Foundation.CoordinatesCartesian
The offset of the camera position relative to the referencePoint. - upAxis
- Type: AGI.Foundation.CoordinatesUnitCartesian
The up direction in axes.
See Also