Package-level declarations

Functions

Link copied to clipboard
fun Modifier.enableSpatialHittestProvider(enable: Boolean = true): Modifier

Declares the spatial hittest intent for the descendant subtree, to be picked up by the nearest ancestor SpatialPropertyConsumerNode that registers SpatialHittestProviderNode.TraverseKey (e.g. Modifier.spaceAnchorConsumer() or Modifier.backgroundMaterial()).