Checks whether a Component-coordinate-space Point is inside the Component.
A Point in Compoennt-space coordinates.
Whether or not the point is inside the Component.
Attaches this Interaction to a Component. If the Interaction was already attached to a Component, it first detaches itself from the old Component.
Detaches this Interaction from the Component. This Interaction can be reused.
Gets whether this Interaction is enabled.
Enables or disables this Interaction.
Whether the Interaction should be enabled.
Removes a callback that would be called when the key with the given keyCode is pressed and the user is moused over the Component.
Removes a callback that would be called when the key with the given keyCode is released if the key was pressed with the mouse inside of the Component.
Adds a callback to be called when the key with the given keyCode is pressed and the user is moused over the Component.
Adds a callback to be called when the key with the given keyCode is released if the key was pressed with the mouse inside of the Component.
Generated using TypeDoc
A Key Interaction listens to key events that occur while the Component is moused over.