docs.unity3d.com
    Show / Hide Table of Contents

    Struct ResponsiveUIServices.SafeAreaAdjustmentArgs

    Arguments for which sides of a VisualElement that Safe Area padding should be applied to

    Namespace: Unity.Industrial.Forma.StandardUI
    Syntax
    public readonly struct SafeAreaAdjustmentArgs

    Constructors

    SafeAreaAdjustmentArgs(Boolean, Boolean, Boolean, Boolean)

    Constructor

    Declaration
    public SafeAreaAdjustmentArgs(bool left, bool right, bool top, bool bottom)
    Parameters
    Type Name Description
    Boolean left

    Should apply to left

    Boolean right

    Should apply to right

    Boolean top

    Should apply to top

    Boolean bottom

    Should apply to bottom

    Properties

    applyToBottom

    Add padding to bottom

    Declaration
    public readonly bool applyToBottom { get; }
    Property Value
    Type Description
    Boolean

    applyToLeft

    Add padding to left

    Declaration
    public readonly bool applyToLeft { get; }
    Property Value
    Type Description
    Boolean

    applyToRight

    Add padding to right

    Declaration
    public readonly bool applyToRight { get; }
    Property Value
    Type Description
    Boolean

    applyToTop

    Add padding to top

    Declaration
    public readonly bool applyToTop { get; }
    Property Value
    Type Description
    Boolean
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023