TranslateDragGesturePayload#
- class omni.kit.manipulator.transform.TranslateDragGesturePayload(
- base: GesturePayload,
- changing_item: AbstractManipulatorItem,
Bases:
TransformDragGesturePayloadA payload for drag gestures used during translation operations.
This class holds details about the translation operation such as the axis of translation, the delta movement since the last change, and the total movement since the drag started.
Methods
Attributes
The axis along which the translation is occurring.
The change in position since the last update.
The total change in position since the drag began.
- __init__(
- base: GesturePayload,
- changing_item: AbstractManipulatorItem,
Initializes a new instance of the TransformDragGesturePayload.
- axis: Sequence[float]#
The axis along which the translation is occurring.
- moved: Sequence[float]#
The total change in position since the drag began.
- moved_delta: Sequence[float]#
The change in position since the last update.