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

See Also

© 2021 Analytical Graphics, Inc. All Rights Reserved.