Class WindowDockingLayout | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class WindowDockingLayout

    Inheritance
    System.Object
    WindowDockingLayout
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEditor.ShaderGraph.Drawing
    Syntax
    public class WindowDockingLayout

    Properties

    dockingLeft

    Declaration
    public bool dockingLeft { get; }
    Property Value
    Type Description
    System.Boolean

    dockingTop

    Declaration
    public bool dockingTop { get; }
    Property Value
    Type Description
    System.Boolean

    horizontalOffset

    Declaration
    public float horizontalOffset { get; }
    Property Value
    Type Description
    System.Single

    size

    Declaration
    public Vector2 size { get; }
    Property Value
    Type Description
    Vector2

    verticalOffset

    Declaration
    public float verticalOffset { get; }
    Property Value
    Type Description
    System.Single

    Methods

    ApplyPosition(VisualElement)

    Declaration
    public void ApplyPosition(VisualElement target)
    Parameters
    Type Name Description
    VisualElement target

    ApplySize(VisualElement)

    Declaration
    public void ApplySize(VisualElement target)
    Parameters
    Type Name Description
    VisualElement target

    CalculateDockingCornerAndOffset(Rect, Rect)

    Declaration
    public void CalculateDockingCornerAndOffset(Rect layout, Rect parentLayout)
    Parameters
    Type Name Description
    Rect layout
    Rect parentLayout

    ClampToParentWindow()

    Declaration
    public void ClampToParentWindow()

    GetLayout(Rect)

    Declaration
    public Rect GetLayout(Rect parentLayout)
    Parameters
    Type Name Description
    Rect parentLayout
    Returns
    Type Description
    Rect
    Back to top
    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