Most visited

Recently visited

HoverListener

public interface HoverListener

com.viro.core.HoverListener


Callback interface for responding to hover events, which occur when the Controller hovers over a Node.

Summary

Public methods

abstract void onHover(int source, Node node, boolean isHovering, Vector location)

Callback when a hover event is received; that is, when the Controller begins or ends hovering over the given Node.

Public methods

onHover

void onHover (int source, 
                Node node, 
                boolean isHovering, 
                Vector location)

Callback when a hover event is received; that is, when the Controller begins or ends hovering over the given Node.

Parameters
source int: The platform specific source ID, which indicates what button or component on the Controller triggered the event. See the Controller's Guide for information.

node Node: The Node which gained or lost hover.

isHovering boolean: True if the Controller is hovering over this Node, false otherwise.

location Vector: The location of the event in world coordinates.

Hooray!