Skip to content

Commit

Permalink
Merge pull request #3 from mamoworld/master
Browse files Browse the repository at this point in the history
autoOrient belongs to Layer, not AVLayer
  • Loading branch information
zlovatt committed Sep 14, 2021
2 parents f259ab7 + 04dbd61 commit bfb32d3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 0 additions & 22 deletions docs/layers/avlayer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,28 +129,6 @@ Boolean; read/write.

----

.. _AVLayer.autoOrient:

AVLayer.autoOrient
*********************************************

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

**Description**

The type of automatic orientation to perform for the layer.

**Type**

An ``AutoOrientType`` enumerated value; read/write. One of:

- ``AutoOrientType.ALONG_PATH`` Layer faces in the direction of the motion path.
- ``AutoOrientType.CAMERA_OR_POINT_OF_INTEREST`` Layer always faces the active camera or points at its point of interest.
- ``AutoOrientType.CHARACTERS_TOWARD_CAMERA`` Each character in a per-character 3D text layer automatically faces the active camera.
- ``AutoOrientType.NO_AUTO_ORIENT`` Layer rotates freely, independent of any motion path, point of interest, or other layers.

----

.. _AVLayer.blendingMode:

AVLayer.blendingMode
Expand Down
22 changes: 22 additions & 0 deletions docs/layers/layer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,28 @@ If the first item in the project is a :ref:`CompItem <CompItem>`, this example d
Attributes
==========

.. _Layer.autoOrient:

Layer.autoOrient
*********************************************

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

**Description**

The type of automatic orientation to perform for the layer.

**Type**

An ``AutoOrientType`` enumerated value; read/write. One of:

- ``AutoOrientType.ALONG_PATH`` Layer faces in the direction of the motion path.
- ``AutoOrientType.CAMERA_OR_POINT_OF_INTEREST`` Layer always faces the active camera or points at its point of interest.
- ``AutoOrientType.CHARACTERS_TOWARD_CAMERA`` Each character in a per-character 3D text layer automatically faces the active camera.
- ``AutoOrientType.NO_AUTO_ORIENT`` Layer rotates freely, independent of any motion path, point of interest, or other layers.

----

.. _Layer.comment:

Layer.comment
Expand Down

0 comments on commit bfb32d3

Please sign in to comment.