docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CinemachineShotQualityEvaluator.DistanceEvaluationSettings

    Settings for shot quality evaluation

    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]
    public struct CinemachineShotQualityEvaluator.DistanceEvaluationSettings

    Fields

    Enabled

    If enabled, will evaluate shot quality based on target distance

    Declaration
    [Tooltip("If enabled, will evaluate shot quality based on target distance")]
    public bool Enabled
    Field Value
    Type Description
    bool

    FarLimit

    Shots with targets farther from the camera than this will not get a quality boost

    Declaration
    [Tooltip("Shots with targets farther from the camera than this will not get a quality boost")]
    public float FarLimit
    Field Value
    Type Description
    float

    MaxQualityBoost

    High quality shots will be boosted by this fraction of their normal quality

    Declaration
    [Tooltip("High quality shots will be boosted by this fraction of their normal quality")]
    public float MaxQualityBoost
    Field Value
    Type Description
    float

    NearLimit

    Shots with targets closer to the camera than this will not get a quality boost

    Declaration
    [Tooltip("Shots with targets closer to the camera than this will not get a quality boost")]
    public float NearLimit
    Field Value
    Type Description
    float

    OptimalDistance

    If greater than zero, maximum quality boost will occur when target is this far from the camera

    Declaration
    [Tooltip("If greater than zero, maximum quality boost will occur when target is this far from the camera")]
    public float OptimalDistance
    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)