All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.VideoSynchronizer.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:Suppress(
    "NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE",
)

package cesium

/**
 * Synchronizes a video element with a simulation clock.
 * @see Online Documentation
 */
@JsName("\$cesium__VideoSynchronizer")
external class VideoSynchronizer {
    /**
     * Gets or sets the simulation time that marks the start of the video.
     * @see Online Documentation
     */
    var epoch: JulianDate

    /**
     * Gets or sets the amount of time in seconds the video's currentTime
     * and the clock's currentTime can diverge before a video seek is performed.
     * Lower values make the synchronization more accurate but video
     * performance might suffer.  Higher values provide better performance
     * but at the cost of accuracy.
     * @see Online Documentation
     */
    var tolerance: Double

    /**
     * Gets or sets the clock used to drive the video element.
     * @see Online Documentation
     */
    var clock: Clock

    /**
     * Gets or sets the video element to synchronize.
     * @see Online Documentation
     */
    var element: org.w3c.dom.HTMLVideoElement

    /**
     * Destroys and resources used by the object.  Once an object is destroyed, it should not be used.
     * @see Online Documentation
     */
    fun destroy()

    /**
     * Returns true if this object was destroyed; otherwise, false.
     * @return True if this object was destroyed; otherwise, false.
     * @see Online Documentation
     */
    fun isDestroyed(): Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy