STK Graphics PrimitivesSend 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 AgSafeArray getUpVector();
public void setUpVector(
    AgSafeArray
);
[Python - STK API ]
@property
def UpVector(self) -> list:

@UpVector.setter
def UpVector(self, UpVector:list) -> None:

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
© 2024 Analytical Graphics, Inc. All Rights Reserved.