Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6805b42

Browse files
Merge pull request #47 from docsforadobe/colombo/update-env-light-api
Update .lightSource attribute of Light Layer with New Beta Functionality
2 parents 4fdb394 + 43f221c commit 6805b42

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

‎docs/introduction/changelog.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ What's new and changed for scripting?
1010

1111
## After Effects 25
1212

13+
### [After Effects 25.2 Beta build 98](https://community.adobe.com/t5/after-effects-beta-discussions/animated-environmental-lights-available-now-in-after-effects-beta/td-p/15130220) (February 2025)
14+
15+
- Scripting methods and attributes added:
16+
- Updated: [LightLayer.lightSource](../layer/lightlayer.md#lightlayerlightsource)
17+
1318
### [After Effects 25.0 Beta build 26](https://community.adobe.com/t5/after-effects-beta-discussions/new-in-ae-25-0-build-25-scripting-hooks-for-font-fallback-management/m-p/14809794) (August 2024)
1419

1520
- Scripting methods and attributes added:

‎docs/layer/lightlayer.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ LightLayer defines no additional attributes, but has different AE properties tha
4141
`app.project.item(index).layer(index).lightSource`
4242

4343
!!! note
44-
`LightLayer.lightSource` was added in After Effects 24.3
44+
`LightLayer.lightSource` was added in After Effects 24.3, but allowed only HDR and EXR layers as sources.
45+
46+
In After Effects (Beta) 25.2.0.098, it was updated to allow any 2D layer type as a source.
4547

4648
#### Description
4749

4850
For a light layer, the layer to use as a light source when `LightLayer.lightType` is `LightType.ENVIRONMENT`.
4951

50-
`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.
52+
`LightLayer.lightSource` can be any 2D video, still, or pre-composition layer in the same composition. Attempting to assign a 3D layer as the `.lightSource` will result in an "Invalid light source specified" error.
5153

5254
---
5355

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /