AGI STK Objects 11 Send comments on this topic.
CurrentTime Property (IAgAnimation)
See Also 
Windows






Windows & Linux

Description

Current animation time. In Epoch seconds.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property CurrentTime() As Double

[C#]
public double CurrentTime {get; set;}

[Managed C++]
public: __property double get_CurrentTime();
public: __property void set_CurrentTime(
double
);

[Unmanaged C++]
public: HRESULT get_CurrentTime(
double * pRetVal
);
public: HRESULT put_CurrentTime(
double NewCurrentTime
);

[Java]
public double getCurrentTime();public void setCurrentTime(
double
);

Remarks

If the NoGraphics property is set to true, then the current time will not be saved or loaded with the scenario. When using a method that depends on the current time, you must explicitly set the current time before using the method.

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface