Create a presentation step that sets a selected current time. If the sun is used as the project’s light source, the displayed light on the terrain corresponds to the sunlight there is on the terrain at the selected current time. If timespans were set for data, the current time also affects the data displayed on the terrain.
JavaScript |
|
CreateCurrentTimeStep( AdvancedType, WaitTime, Description, Time) |
C# |
|
IPresentationStep66 CreateCurrentTimeStep( PresentationStepContinue AdvancedType, int WaitTime, string Description, object Time) |
C++ |
|
HRESULT CreateCurrentTimeStep( PresentationStepContinue AdvancedType, long WaitTime, BSTR Description, VARIANT Time, IPresentationStep66** Step) |
Parameters
AdvancedType
An enum that determines how the presentation advances to the next step. The following are its possible values:
· PSC_MOUSECLICK = 0
On mouse click.
· PSC_WAIT = 1
Automatically after the preset wait time.
WaitTime
After setting a current time, the number of seconds to wait before the presentation should advance to the next step.
Description
A string describing the step that displays in the Presentation Editor. If an empty string is passed into this parameter, TerraExplorer assigns it a unique name.
Time
The required current date and time.
Return Value
Step
An IPresentationStep66 representing the current time step that was created.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.