Piccolo.NET

PNode.ToPickPath Method ()

Creates a pick path with a null camera and empty pickbounds and adds this node.

public virtual PPickPath ToPickPath();

Return Value

A pick path with a null camera and empty pickbounds that contains this node

Remarks

This method is useful if you want to dispatch events directly to a single node. For an example, see PSelectionExample, where the KeyboardFocus is set using this approach.

See Also

PNode Class | UMD.HCIL.Piccolo Namespace | PNode.ToPickPath Overload List