Piccolo.NET

POcclusionDetection.DetectOcclusions Method 

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 DetectOcclusions(
   PNode n,
   PPickPath pickPath
);

Parameters

n
The node to find occlusions for.
pickPath
A pick path representing the bounds of n in parent coordinates.

Remarks

Note that this is only detecting a subset of occlusions (parent, child), others such as overlapping siblings or cousins are not detected.

See Also

POcclusionDetection Class | UMD.HCIL.PiccoloX.Util Namespace