docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MousePositionDebug

    Provides mouse position for debugging purpose.

    Inheritance
    object
    MousePositionDebug
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public class MousePositionDebug

    Properties

    Name Description
    instance

    Singleton instance.

    Methods

    Name Description
    Build()

    Initialize the MousePositionDebug class.

    Cleanup()

    Cleanup the MousePositionDebug class.

    GetMouseClickPosition(float)

    Returns the position of the mouse click.

    GetMousePosition(float, bool)

    Get the mouse position in the scene or game view.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)