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





Description

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

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property ReferencePoint() As System.Array

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

[Managed C++]
public: __property System::Array^ get_ReferencePoint();
public: __property void set_ReferencePoint(
System::Array ^
);

[Unmanaged C++]
public: HRESULT get_ReferencePoint(
SAFEARRAY ** ppRetVal
);
public: HRESULT put_ReferencePoint(
SAFEARRAY * pNewReferencePoint
);

[Java]
public Object[] getReferencePoint();public void setReferencePoint(
Object[]
);

Example

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

    31378.1
    0
    0 
}; 
 
scene.Camera.ReferencePoint = point; 
 

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

scene.Camera.ReferencePoint = point

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1