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





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

[Java]
public  viewOffsetDirection(
IAgCrdnAxes Axes,
IAgCrdnPoint ReferencePoint,
IAgCrdnVector Direction
);

[Unmanaged C++]
public: HRESULT ViewOffsetDirection(
IAgCrdnAxes * Axes,
IAgCrdnPoint * ReferencePoint,
IAgCrdnVector * Direction
);

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

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1