Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docs/layers/lightlayer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ LightLayer.lightType

``app.project.item(index).layer(index).lightType``

.. note::
``LightType.ENVIRONMENT`` was added in After Effects 24.3

**Description**

For a light layer, its light type. Trying to set this attribute for a non-light layer produces an error.
Expand All @@ -59,3 +62,19 @@ A ``LightType`` enumerated value; read/write. One of:
- ``LightType.SPOT``
- ``LightType.POINT``
- ``LightType.AMBIENT``
- ``LightType.ENVIRONMENT``

.. _LightLayer.lightSource:

LightLayer.lightSource
*********************************************

``app.project.item(index).layer(index).lightSource``

.. note::
``LightLayer.lightSource`` was added in After Effects 24.3

**Description**

For a light layer, the layer to use as a light source when ``LightLayer.lightType`` is ``LightType.ENVIRONMENT``. ``LightLayer.layerSource`` must be a footage layer referencing a .EXR or .HDR footage item. Trying to set this attribute to any other layer produces an error.

2 changes: 1 addition & 1 deletion docs/layers/threedmodellayer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ThreeDModelLayer object
``app.project.item(index).layer(index)``

.. note::
This functionality was added in After Effects (Beta) 24.4 and is subject to change while it remains in Beta.
This functionality was added in After Effects 24.4.

**Description**

Expand Down