Home > All Other Interfaces > IPresentation > CreateFlightSpeedFactorStep

CreateFlightSpeedFactorStep

Create a presentation step changing the plane’s flight speed.

 

JavaScript

 

CreateFlightSpeedFactorStep(

      AdvancedType,

      WaitTime,

      Description,

      FlightSpeedFactor)

 

C#

 

IPresentationStep6 CreateFlightSpeedFactorStep(

      PresentationStepContinue AdvancedType,

      int WaitTime,

      string Description,

      PresentationStepFlightSpeed FlightSpeedFactor)

 

C++

 

HRESULT CreateFlightSpeedFactorStep(

      PresentationStepContinue AdvancedType,

      long WaitTime,

      BSTR Description,

      PresentationStepFlightSpeed FlightSpeedFactor,

      IPresentationStep6** 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 performing the step, 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.

FlightSpeedFactor

An enum that determines the flight speed. The following are the possible values:

·         PSFS_VERYSLOW = 0

·         PSFS_SLOW = 1

·         PSFS_NORMAL = 2

·         PSFS_FAST = 3

·         PSFS_VERYFAST = 4

Return Value

Step

An IPresentationStep6 representing the flight speed factor step that was created.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.