Calculate how much time must elapse in the tour playback to reach
the specified tour stop.
Parameters
index: number
The index number of the tour stop to query
Returns number
The amount of time, in seconds.
getTourStopIndexByID
getTourStopIndexByID(id): number
Get the stop index of a tour stop, given its identifier.
If the ID is the empty string or "Next", the current tour stop index will
be incremented and returned.
Parameters
id: string
The tour stop ID, or an empty string or "Next"
Returns number
The tour stop index
getTourXML
getTourXML(): string
Get the tour document as an XML string
Returns string
get_attributesAndCredits
get_attributesAndCredits(): string
Get this tour's "attributes and credits" text.
TODO: determine and document any markup / formatting semantics.
Returns string
get_authorUrl
get_authorUrl(): string
Get the "author URL" of this tour.
Returns string
get_currentTourstopIndex
get_currentTourstopIndex(): number
Get the index number of the currently active tour stop.
In principle, this should maybe be a property of a tour player, not a tour
document, but here we are. This will be negative if the tour isn't
currently playing.
Returns number
get_description
get_description(): string
Get this tour's description.
TODO: document any markup semantics, etc.
Returns string
get_runTime
get_runTime(): number
Get the tour's run-time, in milliseconds. An integer.
A WWT tour.