Script
|
Scriptable interface for extracting the timeline composition order. var composition = composition.buildDefaultCompositionOrder() or var composition = composition.buildCompositionOrderForDisplay( displayNode );. More...
#include <compositioninterface.h>
Public Slots | |
QScriptValue | buildDefaultCompositionOrder () |
returns an array of Composition object using the current default composition order as used by the camera view or the timeline. More... | |
QScriptValue | buildCompositionOrderForDisplay (String &displayNode) |
return an array of Composition object using the specified display name. More... | |
Scriptable interface for extracting the timeline composition order. var composition = composition.buildDefaultCompositionOrder() or var composition = composition.buildCompositionOrderForDisplay( displayNode );.
This builds the composition using the node_timeline internal service and return an JavaScript array of CompositionItem object.
The array returned is ordered. The first entry is the top most node in the composition order, or is a parent of nodes.
You can use it in Script Editor only.
|
slot |
return an array of Composition object using the specified display name.
This method is similar to buildDefaultCompositionOrder(), howeer, instead of working with the current display, it requires a display module. This method can be used to generate the composition order from any display module in the project
|
slot |
returns an array of Composition object using the current default composition order as used by the camera view or the timeline.
Using the current display, return the tree-like composition as normally returned by the internal node_timeline service. This method return the "Display All" composite order.
The depth of each Comosition can be used to find the parent-child. Top level nodes or parentless nodes have a depth at 0. Child of this node will have a depth 1 level greater. Nodes that are at the same depth,