AGI STK Graphics 11 Send comments on this topic.
UpVector Property (IAgStkGraphicsCamera)
See Also  Example

Description

Gets or sets the up direction of the camera in Axes. The array contains the components of the direction arranged in the order x, y, z.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property UpVector() As Variant()

Example

Shows the format of the Camera's UpVector property.
[C#] Copy Code
Array upVector = new object[] 

    0, 
    0, 
    1 
}; 
 
scene.Camera.UpVector = upVector; 
 
Shows the format of the Camera's UpVector property.
[Visual Basic .NET] Copy Code
Dim upVector As Array = New Object() {0, 0, 1}

scene.Camera.UpVector = upVector

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK 11.1 Programming Interface