Piccolo.NET

POcclusionDetection.DetectOccusions 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 DetectOccusions(
   PNode n,
   RectangleF bounds
);

Parameters

n
The node to find occlusions for.
bounds
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