mayOnlyBeAccessedByLayers
Constrains this layer so it may only be accessed by layers in allowedLayerNames.
Constrains this layer so it may only be accessed by vararg layers allowedLayerNames.
Constrains this layer so it may only be accessed by layer allowedLayerName.