Skip to content

Commit 9aeb7e9

Browse files
authored
Merge pull request #42 from thomasolsen4/master
add LightLayer.lightSource and LightType.ENVIRONMENT
2 parents 470ac81 + a70d5f6 commit 9aeb7e9

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

docs/layers/lightlayer.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ LightLayer.lightType
4747

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

50+
.. note::
51+
``LightType.ENVIRONMENT`` was added in After Effects 24.3
52+
5053
**Description**
5154

5255
For a light layer, its light type. Trying to set this attribute for a non-light layer produces an error.
@@ -59,3 +62,19 @@ A ``LightType`` enumerated value; read/write. One of:
5962
- ``LightType.SPOT``
6063
- ``LightType.POINT``
6164
- ``LightType.AMBIENT``
65+
- ``LightType.ENVIRONMENT``
66+
67+
.. _LightLayer.lightSource:
68+
69+
LightLayer.lightSource
70+
*********************************************
71+
72+
``app.project.item(index).layer(index).lightSource``
73+
74+
.. note::
75+
``LightLayer.lightSource`` was added in After Effects 24.3
76+
77+
**Description**
78+
79+
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.
80+

docs/layers/threedmodellayer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ThreeDModelLayer object
88
``app.project.item(index).layer(index)``
99

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

1313
**Description**
1414

0 commit comments

Comments
 (0)