{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct PositionResult | App UI | 0.5.5
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PositionResult

    The position result data structure returned in ComputePosition(VisualElement, VisualElement, Panel, PositionOptions) utility method.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.AppUI.UI
    Assembly: solution.dll
    Syntax
    public struct PositionResult

    Properties

    Name Description
    finalPlacement

    The computed placement, that may differ from the desired one.

    left

    The X Position from the left, in pixels.

    marginLeft

    The left margin, in pixels.

    marginTop

    The top margin, in pixels.

    tipBottom

    The USS bottom value for the tip element.

    tipLeft

    The USS left value for the tip element.

    tipRight

    The USS right value for the tip element.

    tipTop

    The USS top value for the tip element.

    top

    The Y Position from the top, in pixels.

    In This Article
    Back to top
    Copyright © 2023 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)