from_mask


Description:

[ Version ( since = "2.2" ) ]
public static unowned Layer from_mask (LayerMask mask)

Get the specified mask's layer.

This procedure returns the specified mask's layer , or -1 if none exists.

Parameters:

mask

Mask for which to return the layer.

Returns:

The mask's layer.