Namespace Goehler.IO.OrbitalCam
Classes
ButtonEventTrigger
Add this to a UI element like fx. a Button. The script will now trigger its OnButtonHeld action every frame while the button is being held down. It will also trigger its OnButtonClicked event on mouse button up.
ButtonMoveInput
Sends a Vector2 input to all subscribers, based on a set of four customizable Buttons using ButtonEventTrigger, every frame that the button is held down.
ButtonRotateInput
Sends a Vector2 input to all subscribers, based on a set of four customizable Buttons using ButtonEventTrigger, every frame that the button is held down.
ButtonRotateStepInput
Sends an upscaled Vector2 input to all subscribers, based on a set of four customizable Buttons using ButtonEventTrigger, once when the button is clicked.
ButtonZoomInput
Sends a float input to all subscribers, based on a set of two customizable Buttons using ButtonEventTrigger.
FloatInput
Abstract class. ButtonZoomInput and KeyZoomInput inherits from this class. OrbitalCameraSystem uses the AddInputListener and RemoveInputListener to subscribe to the internal OnFloatInput event.
KeyMoveInput
Sends a Vector2 input to all subscribers, based on a set of four customizable keyboard keys, every frame that the key is held down.
KeyRotateInput
Sends a Vector2 input to all subscribers, based on a set of four customizable keyboard keys, every frame that the key is held down.
KeyRotateStepInput
Sends an upscaled Vector2 input to all subscribers, based on a set of four customizable keyboard keys, once when the key is pressed.
KeyZoomInput
Sends a float input to all subscribers, based on a set of two customizable keyboard keys.
OrbitalCameraSystem
The main script in the OrbitalCam system. Holds most of the properties that can be tweaked, and is the endpoint for communication with the Public API.
StepInput
Abstract class. ButtonRotateStepInput and KeyRotateStepInput inherits from this class. OrbitalCameraSystem uses the AddClickListener and RemoveClickListener to subscribe to the internal OnVectorClick event.
VectorInput
Abstract class. ButtonMoveInput, KeyMoveInput, ButtonRotateInput and KeyRotateInput inherits from this class. OrbitalCameraSystem uses the AddClickListener and RemoveClickListener to subscribe to the internal OnVectorClick event.
Enums
MouseButton
Enumeration of mouse buttons. Used when mapping the mouse to the movement/rotation actions.
TouchGesture
Describing a touch gesture by the number of fingers involved. Used when mapping touch gestures to the movement/rotation actions.
ZoomMethod
Describing a zoom mwthod to be used while zooming.