ThreePipe
    Preparing search index...

    Class ViewerTimeline

    Hierarchy

    Index

    Constructors

    • Creates EventDispatcher object.

      Returns ViewerTimeline

    Properties

    _clock: Clock = ...
    _time: number = 0
    delta: number = 0

    in secs

    endTime: number = 2

    Maximum time in secs. This is used to limit the time in the timeline. Set to 0 to disable the limit.

    resetOnEnd: boolean = true

    Reset the timeline time to 0 when the timeline ends. It is applicable only when the timeline is running and endTime is set to a value greater than 0. This can be used to loop the timeline.

    true
    
    running: boolean = false

    Running state.

    stopOnEnd: boolean = false

    Stop the timeline when it reaches the end. This is applicable only when the timeline is running and endTime is set to a value greater than 0. This can be used to stop the timeline when it reaches the end. It is separate from resetOnEnd, the timeline is stopped and then reset when both are true.

    false
    
    uiConfig: UiObjectConfig

    Accessors

    Methods

    • Returns true if the timeline is running or if it is set to step this/next frame.

      Returns boolean