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 System.Array

[C#]
public System.Array UpVector {get; set;}

[Managed C++]
public: __property System::Array^ get_UpVector();
public: __property void set_UpVector(
System::Array ^
);

[Unmanaged C++]
public: HRESULT get_UpVector(
SAFEARRAY ** ppRetVal
);
public: HRESULT put_UpVector(
SAFEARRAY * pNewUpVector
);

[Java]
public Object[] getUpVector();public void setUpVector(
Object[]
);

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 All Rights Reserved.

STK Programming Interface 11.0.1