Uses of Enum Class
cit244.api.Input.MouseButton
Packages that use Input.MouseButton
Package
Description
Main API for CIT AViz sketches, including drawing, input, timing, and controls.
-
Uses of Input.MouseButton in cit244.api
Subclasses with type arguments of type Input.MouseButton in cit244.apiModifier and TypeClassDescriptionstatic enumMouse buttons supported by the input API.Methods in cit244.api that return Input.MouseButtonModifier and TypeMethodDescriptionstatic Input.MouseButtonReturns the enum constant of this class with the specified name.static Input.MouseButton[]Input.MouseButton.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cit244.api with parameters of type Input.MouseButtonModifier and TypeMethodDescriptionbooleanInput.mouseDown(Input.MouseButton button) Tests whether a mouse button is held.booleanInput.mouseDragged(Input.MouseButton button) Tests whether a mouse-drag event occurred during this frame while the specified button was held.booleanInput.mouseJustPressed(Input.MouseButton button) Tests whether a mouse button was pressed during this frame.booleanInput.mouseJustReleased(Input.MouseButton button) Tests whether a mouse button was released during this frame.