Most visited

Recently visited

HitTestListener

public interface HitTestListener

com.viro.core.HitTestListener


Callback interface for responding to hit-test results. These hit-tests are initiated through the ViroView. Hit-tests are used to search the Scene for virtual-world objects.

Summary

Public methods

abstract void onHitTestFinished(HitTestResult[] results)

Invoked when a hit-test has completed.

Public methods

onHitTestFinished

void onHitTestFinished (HitTestResult[] results)

Invoked when a hit-test has completed. As each hit-test can intersect with multiple world-world objects, an array of results is returned.

Parameters
results HitTestResult: The results of the hit-test, each in an HitTestResult.

Hooray!