Class PointerManipulator
PointerManipulators have a list of activation filters.
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public abstract class PointerManipulator : MouseManipulator, IManipulator
Methods
CanStartManipulation(IPointerEvent)
Checks whether PointerEvent satisfies all of the ManipulatorActivationFilter requirements.
Declaration
protected bool CanStartManipulation(IPointerEvent e)
Parameters
Type | Name | Description |
---|---|---|
IPointerEvent | e | The PointerEvent to validate. |
Returns
Type | Description |
---|---|
Boolean | True if the event satisfies the requirements. False otherwise. |
CanStopManipulation(IPointerEvent)
Checks whether the PointerEvent is related to this Manipulator.
Declaration
protected bool CanStopManipulation(IPointerEvent e)
Parameters
Type | Name | Description |
---|---|---|
IPointerEvent | e | PointerEvent to validate. |
Returns
Type | Description |
---|---|
Boolean | True if PointerEvent uses the current activator button. False otherwise. |