Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from thomasolsen4/master
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.. highlight:: javascript | ||
|
||
.. _ThreeDModelLayer: | ||
|
||
ThreeDModelLayer object | ||
################################################ | ||
|
||
``app.project.item(index).layer(index)`` | ||
|
||
**Description** | ||
|
||
The ThreeDModelLayer object represents a 3D Model layer within a composition. | ||
|
||
ThreeDModelLayer is a subclass of :ref:`AVLayer`. All methods and attributes of AVLayer are available when working with ThreeDModelLayer. | ||
|
||
**AE Properties** | ||
|
||
ThreeDModelLayer inherits the following properties and property groups from :ref:`AVLayer`: | ||
|
||
- Marker | ||
- Time Remap | ||
- Transform | ||
|
||
- Anchor Point | ||
- Position | ||
- Scale | ||
- Orientation | ||
- X Rotation | ||
- Y Rotation | ||
- Rotation | ||
- Opacity | ||
|
||
- Layer Styles | ||
- Audio | ||
|
||
- AudioLevels | ||
|
||
**Example** | ||
|
||
If the first item in the project is a CompItem, and the first layer of that CompItem is an ThreeDModelLayer, the following checks its type. | ||
|
||
.. code:: javascript | ||
var modelLayer = app.project.item(1).layer(1); | ||
if (modelLayer instanceof ThreeDModelLayer) | ||
{ | ||
// do something | ||
} | ||