layer

aeq. layer

Source:

Module dealing with Layer objects.

Methods

(static) allChildren(parentLayer) → {aeq.arrayEx}

Source:

Gets all layers that has the given layer as its parent, and all layers that has those layers, and so on.

Parameters:
Name Type Description
parentLayer Layer

The layer to get decendants from.

Returns:

Children and decendants of the given Layer.

Type
aeq.arrayEx

(static) children(parentLayer) → {aeq.arrayEx}

Source:

Gets all layers that has the given layer as its parent.

Parameters:
Name Type Description
parentLayer Layer

The layer to get children from.

Returns:

The children Layers of the given Layer.

Type
aeq.arrayEx

(static) copyLayerToggles(sourceLayer, destLayer)

Source:

Copies the state of layer toggles from one layer to another. Layer toggles: enabled, solo, shy, quality, effectsActive, motionBlur adjustmentLayer, threeDLayer, blendingMode, preserveTransparency parent, inPoint, stretch, startTime, outPoint, label, guideLayer name, comment, autoOrient

Parameters:
Name Type Description
sourceLayer Layer

The layer to copy from.

destLayer Layer

The layer to copy to.

(static) parents(childLayer) → {aeq.arrayEx}

Source:

Gets the layers parent chain. I.e This layer's parent's parent, and so on.

Parameters:
Name Type Description
childLayer Layer

The layer to get parents from.

Returns:

The Parents of the given layer.

Type
aeq.arrayEx

(static) relatedLayers(root) → {aeq.arrayEx}

Source:

Gets all parents and all children of the given layers.

Parameters:
Name Type Description
root Layer

The Layer to get the parents and children from

Returns:

The layer's parents and children.

Type
aeq.arrayEx