public class POcclusionDetection extends Object
| Constructor and Description |
|---|
POcclusionDetection() |
| Modifier and Type | Method and Description |
|---|---|
void |
detectOcclusions(PNode node,
PPickPath pickPath)
Traverse the pick path determining which parent nodes are occluded by
their children nodes.
|
void |
detectOccusions(PNode n,
PBounds parentBounds)
Traverse from the bottom right of the scene graph (top visible node) up
the tree determining which parent nodes are occluded by their children
nodes.
|
public void detectOccusions(PNode n, PBounds parentBounds)
n - node from which to detect occlusionsparentBounds - bounds of parent nodepublic void detectOcclusions(PNode node, PPickPath pickPath)
node - node from which to detect occlusionspickPath - Pick Path to traverseCopyright © 1995-2012 Piccolo2D. All Rights Reserved.