STK Graphics PrimitivesSend comments on this topic.
ViewOffsetDirection Method (IAgStkGraphicsCamera)
See Also
Axes
The Axes of rotation. Axes will be set to this.
ReferencePoint
The Point that will be evaluated at the animation time to get Reference Point.
Direction
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.
Windows





Windows & Linux

Description

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.

Syntax

[Visual Basic .NET]
Public Sub ViewOffsetDirection( _
    ByVal Axes As IAgCrdnAxes, _
    ByVal ReferencePoint As IAgCrdnPoint, _
    ByVal Direction As IAgCrdnVector _
)
[C#]
public void ViewOffsetDirection(
    IAgCrdnAxes Axes,
    IAgCrdnPoint ReferencePoint,
    IAgCrdnVector Direction
);
[Managed C++]
public: void ViewOffsetDirection(
    IAgCrdnAxes ^ Axes,
    IAgCrdnPoint ^ ReferencePoint,
    IAgCrdnVector ^ Direction
);
[Unmanaged C++]
public: HRESULT ViewOffsetDirection(
    IAgCrdnAxes * Axes,
    IAgCrdnPoint * ReferencePoint,
    IAgCrdnVector * Direction
);
[Java]
public void viewOffsetDirection(
    IAgCrdnAxes Axes,
    IAgCrdnPoint ReferencePoint,
    IAgCrdnVector Direction
);
[Python - STK API ]
def ViewOffsetDirection(self, Axes:"IAgCrdnAxes", ReferencePoint:"IAgCrdnPoint", Direction:"IAgCrdnVector") -> None:

Parameters

Axes
The Axes of rotation. Axes will be set to this.
ReferencePoint
The Point that will be evaluated at the animation time to get Reference Point.
Direction
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

© 2024 Analytical Graphics, Inc. All Rights Reserved.