Camera Actions

v1.0

Set Field of View Action

Animates the field of view (FOV) of perspective cameras over time using an animation curve. Supports multiple camera selection modes and can optionally return to the original FOV when complete. Only affects perspective cameras; orthographic cameras will be skipped with a warning.

Dolly Zoom Action

Creates the classic "Hitchcock Vertigo Effect" by simultaneously moving the camera and adjusting its field of view to keep a focal point at constant screen size, creating dramatic perspective shifts in the background.

How to Use:

  1. Choose a Focal Point Mode:

    • Distance Forward: Specify a distance in front of the camera (e.g., 10 units) to use as the focal point. Simple and doesn't require a target object.

    • Target Object: Select a specific Transform to focus on. Use the Offset field to fine-tune the focal point (e.g., offset up to focus on a character's head instead of feet).

  2. Set End Position Offset:

    • Positive values (e.g., 5): Camera moves forward β†’ FOV widens β†’ background expands/stretches

    • Negative values (e.g., -5): Camera moves backward β†’ FOV narrows β†’ background compresses

  3. Configure Safety Bounds:

    • Set Min/Max FOV to prevent extreme distortion (defaults: 10-160 degrees)

    • These clamp the calculated FOV to keep it visually usable

  4. Return to Start:

    • Enable to automatically reverse the effect and return to the original camera position and FOV

    • Disable for a permanent perspective shift

Set Camera Background Color Action

Animates the background color (solid color clear mode) of cameras over time using an animation curve. Supports selecting from multiple target colors using sequential or random modes, and can optionally return to the original background color when complete. Automatically sets the camera's clear flags to Solid Color.

Set Orthographic Size Action

Animates the orthographic size of orthographic cameras over time using an animation curve. Supports multiple camera selection modes and can optionally return to the original size when complete. Only affects orthographic cameras; perspective cameras will be skipped with a warning.

Set Camera Depth Action

Changes the camera's depth value, which determines the render order when multiple cameras are active (higher depth values render on top). Supports both absolute depth setting and relative offset modes. Can optionally revert to the original depth after a delay.

Set Camera Culling Mask Action

Modifies which layers a camera renders by adding, removing, toggling, or replacing layers in the culling mask. Useful for temporarily showing/hiding specific layers (e.g., revealing hidden objects, hiding UI during cinematics). Supports multiple operation modes: Set (replace mask entirely), Add (include additional layers), Remove (exclude specific layers), or Toggle (flip layer visibility). Can optionally revert to the original culling mask after a delay.

Last updated