Summary
Handles drag input within a given `area`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor .Previews - Containing Type
- Animancer
Preview Renderer
Syntax
public static Vector2 Drag2D(Vector2 scrollPosition, Rect area)
Remarks
Copied from Unity's
PreviewGUI.Drag2D(UnityEngine.Vector2,UnityEngine.Rect).Parameters
| Name | Type | Description |
|---|---|---|
| scrollPosition | Vector2 | |
| area | Rect |
Return Value
| Type | Description |
|---|---|
| Vector2 |