AbstractThe viewport the operator acts on
Protected Readonly_The viewport the operator is operating on
Abstract ReadonlynameReadonlyneedsIndicates whether the operator needs to be validated validate to perform its action
Clear the current operator
Initialize the current operator
Called by the viewport when the user press a key.
Called by the viewport when the user unpress a key.
Called by the viewport when the user clicks. This means a onPointerDown
event followed by a onPointerUp event without any drag.
By default, emits onObjectClicked for the object seen on left button, and opens the context
menu on right button.
The pointer event.
The objects under the pointer, raycast when read.
Called by the viewport when the user double clicks. This means a onPointerDown
event followed by a onPointerUp event without any drag twice.
The pointer event.
The objects under the pointer, raycast when read.
Called by the viewport when the user presses the pointer.
The pointer event.
The objects under the pointer, raycast when read.
Called by the viewport when the user drags the pointer.
The pointer event.
The objects under the pointer, raycast when read.
Called by the viewport when the user moves the pointer.
The pointer event.
The objects under the pointer, raycast when read.
Called by the viewport when the user releases the pointer.
The pointer event.
The objects under the pointer, raycast when read.
Validates the current action if applicable
Abstract base class for viewport operators. This class should be inherited when building a new viewport operator.