AGI STK Graphics 11 Send 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.





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
);

[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

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1