Skip to content

Commit

Permalink
Also add InvalidateLensCache to the backport
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineCharton authored Oct 6, 2023
1 parent c41e2dd commit 4cd3f07
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ In these cases, for efficiency reasons, Cinemachine does not automatically regen
- the script by calling InvalidateCache, or
- the component inspector; to do so, press the **Invalidate Cache** button.

If the input polygon scales uniformly or translates or rotates, the cache remains valid.
If the input polygon scales uniformly or translates or rotates, the cache remains valid.

When the Orthographic Size or Field of View of the Cinemachine Camera's lens changes, Cinemachine will not automatically adjust the Confiner for efficiency reasons. To adjust the Confiner, call InvalidateLensCache() from script.

## Oversize Windows
If sections of the confining polygon are too small to fully contain the camera window, Cinemachine calculates a polygon skeleton for those regions. This is a shape with no area, that serves as a place to put the camera when it is confined to this region of the shape.
Expand Down

0 comments on commit 4cd3f07

Please sign in to comment.