Class RaycastManager | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class RaycastManager

    Inheritance
    Object
    RaycastManager
    Namespace: Unity.UIWidgets.engine.raycast
    Syntax
    public class RaycastManager

    Fields

    raycastHandlerMap

    Declaration
    public readonly Dictionary<int, Dictionary<int, RaycastableRect>> raycastHandlerMap
    Field Value
    Type Description
    Dictionary<Int32, Dictionary<Int32, RaycastableRect>>

    Properties

    instance

    Declaration
    public static RaycastManager instance { get; }
    Property Value
    Type Description
    RaycastManager

    Methods

    AddToList(Int32, Int32)

    Declaration
    public static void AddToList(int widgetHashCode, int windowHashCode)
    Parameters
    Type Name Description
    Int32 widgetHashCode
    Int32 windowHashCode

    CheckCastThrough(Int32, Vector2)

    Declaration
    public static bool CheckCastThrough(int windowHashCode, Vector2 pos)
    Parameters
    Type Name Description
    Int32 windowHashCode
    Vector2 pos
    Returns
    Type Description
    Boolean

    DisposeWindow(Int32)

    Declaration
    public static void DisposeWindow(int windowHashCode)
    Parameters
    Type Name Description
    Int32 windowHashCode

    MarkDirty(Int32, Int32)

    Declaration
    public static void MarkDirty(int widgetHashCode, int windowHashCode)
    Parameters
    Type Name Description
    Int32 widgetHashCode
    Int32 windowHashCode

    NewWindow(Int32)

    Declaration
    public static void NewWindow(int windowHashCode)
    Parameters
    Type Name Description
    Int32 windowHashCode

    RemoveFromList(Int32, Int32)

    Declaration
    public static void RemoveFromList(int widgetHashCode, int windowHashCode)
    Parameters
    Type Name Description
    Int32 widgetHashCode
    Int32 windowHashCode

    UpdateSizeOffset(Int32, Int32, Size, Offset)

    Declaration
    public static void UpdateSizeOffset(int widgetHashCode, int windowHashCode, Size size, Offset offset)
    Parameters
    Type Name Description
    Int32 widgetHashCode
    Int32 windowHashCode
    Size size
    Offset offset
    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