IManipulationHandler
Interface to handle object Manipulation interaction. Manipulation is done by long-pressing the select button. In Manipulation, you can grab an object and then perform actions like rotating, scaling, or dragging it from one place to another.
Method | Description |
---|---|
OnManipulationCompleted | Called when the manipulation is completed |
OnManipulationStarted | Called when the manipulation is started |
OnManipulationUpdated | Called when the manipulation is updated |
ManipulationEventData
Datatype | Variable | Description |
---|---|---|
EventSystems.BaseInputModule | currentInputModule | Get the currently active Input Module |
GameObject | selectedObject | Get the currently selected object |
Vector3 | CumulativeDelta | Cumulative manipulation distance since manipulation started |