Function

hasParent

Verifies the direct parent of a 3D semantic node.

hasParent

Source set: Android
public fun hasParent(matcher: SubspaceSemanticsMatcher): SubspaceSemanticsMatcher

Verifies the direct parent of a 3D semantic node.

This is indispensable for nested spatial compositions, such as a PlanarEmbeddedSubspace composed inside a SpatialPanel, to confirm exact container anchoring.

Parameters

matcher The semantic check to evaluate against the parent node.

Return

a matcher validating the parent's properties.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: