AGI STK Graphics 11Send comments on this topic.
ViewDirection Method (IAgStkGraphicsCamera)
See Also 
Axes
The Axes of rotation. Axes will be set to this.
CameraPosition
The Point that will be evaluated at the animation time to get Position.
Direction
The Vector that will be evaluated at the animation time to get Direction.
Windows






Windows & Linux

Description

Views from a point to a direction. Sets the camera's position and the direction vector indicating where the camera is looking.

Syntax

[Visual Basic .NET]
Public Sub ViewDirection( _
   ByVal Axes As  IAgCrdnAxes, _
   ByVal CameraPosition As  IAgCrdnPoint, _
   ByVal Direction As  IAgCrdnVector _
) 
[C#]
public void ViewDirection(
    IAgCrdnAxes Axes,
    IAgCrdnPoint CameraPosition,
    IAgCrdnVector Direction
);
[Managed C++]
public: void ViewDirection(
    IAgCrdnAxes ^ Axes,
    IAgCrdnPoint ^ CameraPosition,
    IAgCrdnVector ^ Direction
);
[Java]
public  viewDirection(
    IAgCrdnAxes Axes,
    IAgCrdnPoint CameraPosition,
    IAgCrdnVector Direction
);
[Unmanaged C++]
public: HRESULT ViewDirection(
    IAgCrdnAxes * Axes,
    IAgCrdnPoint * CameraPosition,
    IAgCrdnVector * Direction
);

Parameters

Axes
The Axes of rotation. Axes will be set to this.
CameraPosition
The Point that will be evaluated at the animation time to get Position.
Direction
The Vector that will be evaluated at the animation time to get Direction.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.