Go to Google Earth Home
Google Earth COM API Documentation Document Version: 1.0 - Last modified:


IAnimationControllerGE Interface Reference

This contains animation options and controls. More...

import "earth.idl";

List of all members.

Public Member Functions

HRESULT Play ()
 Starts playing animation.
HRESULT Pause ()
 Pauses current animation.

Properties

ITimeIntervalGE SliderTimeInterval [get]
 Full time interval of animation.
ITimeIntervalGE CurrentTimeInterval [get, set]
 Current time interval of animation.


Detailed Description

This contains animation options and controls.

Use this interface to control animation. To get an instance of IAnimationControllerGE, call IApplicationGE::AnimationController.

Note:
This interface always reflects the current state of the application's animation, even if changes occur after creation.
Associated GUIDs:
See also:
IApplicationGE::TourController


Member Function Documentation

HRESULT IAnimationControllerGE::Play (  ) 

Starts playing animation.

Plays animation with current settings if available.

Return values:
S_OK Successfully playing animation.
(other) Appropriate error code.
See also:
Pause

HRESULT IAnimationControllerGE::Pause (  ) 

Pauses current animation.

Pauses animation if one is playing.

Return values:
S_OK Successfully paused animation.
(other) Appropriate error code.
See also:
Play


Property Documentation

ITimeIntervalGE IAnimationControllerGE::SliderTimeInterval [get]

Full time interval of animation.

May be affected by other animation settings such as if it is restricted to a certain folder.

See also:
CurrentTimeInterval

ITimeIntervalGE IAnimationControllerGE::CurrentTimeInterval [get, set]

Current time interval of animation.

This is the subset of SliderTimeInterval that is currently active. This time interval is continuously shifted during animation.

Return values:
E_INVALIDARG trying to set a time interval with end time before begin time.
See also:
SliderTimeInterval


The documentation for this interface was generated from the following file:

Google Earth
     
©2010 Google - Google Home - About Google