- Source:
Module dealing with comp objects.
Methods
(static) create(folderopt, optionsopt) → {CompItem}
- Source:
Creates a comp with the given settings
Examples
var comp = aeq.comp.create({
name: 'Example',
duration: 10
})
var comp = aeq.comp.create(compFolder, {
name: "Example"
})
var comp = aeq.comp.create()
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
folder |
FolderItem | object |
<optional> |
app.project
|
The folder to place the
comp inside in the project panel. If not provided, this argument
will be used as the |
|||||||||||||||||||||||||||||||||||
options |
object |
<optional> |
Comp settings: Properties
|
Returns:
The created comp item.
- Type
- CompItem
(static) getCompInQueue(comp, queuedOnlyopt) → {Array.<RenderQueueItem>}
- Source:
Gets the RenderQueueItem
s that references a given comp.
Example
var RQItems = aeq.comp.getCompInQueue( comp, false )
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
comp |
CompItem | The comp to find in the Render Queue. |
||
queuedOnly |
boolean |
<optional> |
true
|
Only get |
Returns:
The RenderQueueItem
s that references
the comp
- Type
- Array.<RenderQueueItem>
(static) isInQueue(comp) → {boolean}
- Source:
Check if a comp is in the Render Queue, regardless of it being queued or not.
Parameters:
Name | Type | Description |
---|---|---|
comp |
CompItem | The comp to find in the queue. |
Returns:
True if comp is in the queue.
- Type
- boolean
(static) isQueued(comp) → {boolean}
- Source:
Check if a comp is in the Render Queue and queued.
Parameters:
Name | Type | Description |
---|---|---|
comp |
CompItem | The comp to find the queue. |
Returns:
True if the comp is queued.
- Type
- boolean