---
title: "SubspaceSemanticsInfo"
description: "Provides semantic information about a node in the Subspace layout hierarchy."
type: "interface"
lastmod: "2026-06-18T10:32:53.068021Z"
---
## API Reference

> Source set: Android

```kotlin
public sealed interface SubspaceSemanticsInfo
```

Provides semantic information about a node in the Subspace layout hierarchy.

This interface defines the properties that are accessible for semantics-related purposes, such as
accessibility services and testing. Each `SubspaceSemanticsInfo` node represents a composable in
the UI tree that has semantics attached.

## Properties

### semanticsId

> Source set: Android

```kotlin
public val semanticsId: Int
```

The unique ID of this semantics node.

### size

> Source set: Android

```kotlin
public val size: IntVolumeSize
```

The dimensions of the 3D bounding box for this node.

### pose

> Source set: Android

```kotlin
public val pose: Pose
```

The pose of this node relative to its parent layout node in the Compose hierarchy.

### poseInRoot

> Source set: Android

```kotlin
public val poseInRoot: Pose
```

The pose of this node relative to the root of this Compose hierarchy, in pixels.

### semanticsConfiguration

> Source set: Android

```kotlin
public val semanticsConfiguration: SemanticsConfiguration
```

The semantics configuration of this node.

This includes all properties attached as modifiers to the current layout node.

### childrenInfo

> Source set: Android

```kotlin
public val childrenInfo: List<SubspaceSemanticsInfo>
```

The children of this node in the semantics tree.

### parentInfo

> Source set: Android

```kotlin
public val parentInfo: SubspaceSemanticsInfo?
```

The parent of this node in the semantics tree.

### isRoot

> Source set: Android

```kotlin
public val isRoot: Boolean
```

Whether this node is the root of a semantics tree.

### semanticsEntity

> Source set: Android

```kotlin
public val semanticsEntity: Entity?
```

The `Entity` associated with this node.

### scale

> Source set: Android

```kotlin
public val scale: Float
```

The scale factor of this node relative to its parent.

### components

> Source set: Android

```kotlin
public val components: List<Component>?
```

The list of components attached to this node by the Subspace layout update phase.

Returns a collection of `Component` objects representing various capabilities or properties
(e.g., visual, interactive, or physical behaviors) attached to the [semanticsEntity](#semanticsentity). Returns
`null` if there is no underlying `Entity`.
