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

Description

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

Property type

Read-write property

Syntax

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

Example

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

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

scene.Camera.Position = position

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK 11.1 Programming Interface