Class MousePositionDebug
Provides mouse position for debugging purpose.
Inherited Members
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. |