Class: oTimeline

$. oTimeline

The $.oTimeline class represents a timeline corresponding to a specific display.

new $.oTimeline(display)

openHarmony/openHarmony_timeline.js, line 422
The $.oTimeline constructor.
Name Type Description
display string optional The display node's path. By default, the defaultDisplay of the scene.
Properties:
Name Type Description
display string The display node's path.

Members

allLayersArray.<$.oLayer>

Gets the list of all layers in timeline, nodes and columns. In batchmode, will only return the nodes, not the sublayers.

compositionLayersArray.<oNode>

The node layers in the scene, based on the timeline's order given a specific display.
Deprecated
  • use oTimeline.nodes instead if you want the nodes

    compositionLayersListArray.<string>

    Gets the paths of the layers in order, given the specific display's timeline.
    Deprecated
    • only returns node path strings

      layersArray.<$.oLayer>

      Gets the list of node layers in timeline.

      nodesArray.<oNode>

      The nodes present in the timeline.

      nodesListArray.<string>

      Gets the paths of the nodes displayed in the timeline.
      Deprecated
      • only returns node path strings, use oTimeline.layers insteads

        selectedLayersArray.<oTimelineLayer>

        Gets the list of selected layers as oTimelineLayer objects.

        Methods

        buildLayerCache()

        openHarmony/openHarmony_timeline.js, line 582
        Build column to oNode/Attribute lookup cache. Makes the layer generation faster if using oTimeline.layers, oTimeline.selectedLayers
        Deprecated
        • Yes

        refresh()

        openHarmony/openHarmony_timeline.js, line 569
        Refreshes the oTimeline's cached listing- in the event it changes in the runtime of the script.
        Deprecated
        • oTimeline.composition is now always refreshed when accessed.