docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ScreenComposerSettings.HardLimitSettings

    The target will not be allowed to be outside this region. When the target is within this region, the camera will gradually adjust to re-align towards the desired position, depending on the damping speed

    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 ScreenComposerSettings.HardLimitSettings

    Fields

    Enabled

    Enables the Hard Limit settings

    Declaration
    public bool Enabled
    Field Value
    Type Description
    bool

    Offset

    A zero Offset means that the hard limits will be centered around the target screen position.
    A nonzero Offset will uncenter the hard limits relative to the target screen position.

    Declaration
    [Tooltip("A zero Offset means that the hard limits will be centered around the target screen position.  A nonzero Offset will uncenter the hard limits relative to the target screen position.")]
    public Vector2 Offset
    Field Value
    Type Description
    Vector2

    Size

    The target will not be allowed to be outside this region. When the target is within this region, the camera will gradually adjust to re-align towards the desired position, depending on the damping speed.
    Full screen size is 1

    Declaration
    [Tooltip("The target will not be allowed to be outside this region. When the target is within this region, the camera will gradually adjust to re-align towards the desired position, depending on the damping speed.  Full screen size is 1")]
    public Vector2 Size
    Field Value
    Type Description
    Vector2
    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)