Home > All Other Interfaces > IPresentation > CreateFollowDynamicObjectStep

CreateFollowDynamicObjectStep

Create a presentation step in which the camera starts to follow a specified dynamic object.

 

JavaScript

 

CreateFollowDynamicObjectStep(

      AdvancedType,

      WaitTime,

      Description,

      ObjectID)

 

C#

 

IPresentationStep6 CreateFollowDynamicObjectStep(

      PresentationStepContinue AdvancedType,

      int WaitTime,

      string Description,

      string ObjectID)

 

C++

 

HRESULT CreateFollowDynamicObjectStep(

      PresentationStepContinue AdvancedType,

      long WaitTime,

      BSTR Description,

      BSTR ObjectID,

      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.

ObjectID

The ID of the dynamic object you want to follow

Return Value

Step

An IPresentationStep6 representing the follow dynamic object step that was created.

Exceptions

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