Class ContentDragger
Inheritance
ContentDragger
Assembly: UnityEditor.dll
Syntax
public class ContentDragger : MouseManipulator, IManipulator
Constructors
|
Improve this Doc
View Source
ContentDragger()
Declaration
Properties
|
Improve this Doc
View Source
clampToParentEdges
Declaration
public bool clampToParentEdges { get; set; }
Property Value
|
Improve this Doc
View Source
panSpeed
Declaration
public Vector2 panSpeed { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
CalculatePosition(Single, Single, Single, Single)
Declaration
protected Rect CalculatePosition(float x, float y, float width, float height)
Parameters
Returns
|
Improve this Doc
View Source
OnMouseDown(MouseDownEvent)
Declaration
protected void OnMouseDown(MouseDownEvent e)
Parameters
|
Improve this Doc
View Source
OnMouseMove(MouseMoveEvent)
Declaration
protected void OnMouseMove(MouseMoveEvent e)
Parameters
|
Improve this Doc
View Source
OnMouseUp(MouseUpEvent)
Declaration
protected void OnMouseUp(MouseUpEvent e)
Parameters
|
Improve this Doc
View Source
RegisterCallbacksOnTarget()
Declaration
protected override void RegisterCallbacksOnTarget()
Overrides
|
Improve this Doc
View Source
UnregisterCallbacksFromTarget()
Declaration
protected override void UnregisterCallbacksFromTarget()
Overrides
Implements
Extension Methods