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






Windows & Linux

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 * UpVector
);
[Java]
public VariantArray getUpVector();
public void setUpVector(
    VariantArray
);

See Also

Example

Shows the format of the Camera's UpVector property.
[C#]
Array upVector = new object[]
{
    0,
    0,
    1
};

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

scene.Camera.UpVector = upVector
© 2019 Analytical Graphics, Inc. All Rights Reserved.