docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct LensSettings.PhysicalSettings

    These are settings that are used only if IsPhysicalCamera is true.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Cinemachine
    Assembly: Unity.Cinemachine.dll
    Syntax
    [Serializable]
    [Tooltip("These are settings that are used only if IsPhysicalCamera is true")]
    public struct LensSettings.PhysicalSettings

    Fields

    Anamorphism

    Stretches the sensor to simulate an anamorphic look. Positive values distort the camera vertically, negative values distore the camera horizontally

    Declaration
    [Tooltip("Stretches the sensor to simulate an anamorphic look.  Positive values distort the camera vertically, negative values distort the camera horizontally")]
    [Range(-1, 1)]
    public float Anamorphism
    Field Value
    Type Description
    float

    Aperture

    The aperture number, in f-stop

    Declaration
    [Tooltip("The aperture number, in f-stop")]
    [Range(0.7, 32)]
    public float Aperture
    Field Value
    Type Description
    float

    BarrelClipping

    The strength of the "cat-eye" effect on bokeh (optical vignetting)

    Declaration
    [Tooltip("The strength of the \"cat-eye\" effect on bokeh (optical vignetting)")]
    [Range(0, 1)]
    public float BarrelClipping
    Field Value
    Type Description
    float

    BladeCount

    The number of diaphragm blades

    Declaration
    [Tooltip("The number of diaphragm blades")]
    [Range(3, 11)]
    public int BladeCount
    Field Value
    Type Description
    int

    Curvature

    Maps an aperture range to blade curvature

    Declaration
    [Tooltip("Maps an aperture range to blade curvature")]
    [MinMaxRangeSlider(0.7, 32)]
    public Vector2 Curvature
    Field Value
    Type Description
    Vector2

    FocusDistance

    Distance from the camera lens at which focus is sharpest.
    The Depth of Field Volume override uses this value if you set FocusDistanceMode to Camera

    Declaration
    [Tooltip("Distance from the camera lens at which focus is sharpest.  The Depth of Field Volume override uses this value if you set FocusDistanceMode to Camera")]
    public float FocusDistance
    Field Value
    Type Description
    float

    GateFit

    How the image is fitted to the sensor if the aspect ratios differ

    Declaration
    [Tooltip("How the image is fitted to the sensor if the aspect ratios differ")]
    public Camera.GateFitMode GateFit
    Field Value
    Type Description
    Camera.GateFitMode

    Iso

    The sensor sensitivity (ISO)

    Declaration
    [Tooltip("The sensor sensitivity (ISO)")]
    public int Iso
    Field Value
    Type Description
    int

    LensShift

    Position of the gate relative to the film back

    Declaration
    [Tooltip("Position of the gate relative to the film back")]
    public Vector2 LensShift
    Field Value
    Type Description
    Vector2

    SensorSize

    This is the actual size of the image sensor (in mm).

    Declaration
    [Tooltip("This is the actual size of the image sensor (in mm)")]
    public Vector2 SensorSize
    Field Value
    Type Description
    Vector2

    ShutterSpeed

    The exposure time, in seconds

    Declaration
    [Tooltip("The exposure time, in seconds")]
    public float ShutterSpeed
    Field Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)