-
absoluteOffset
Offset the content by (x dp, y dp, z dp) without considering layout direction.
-
absolutePadding
Apply additional space along each edge of the content in Dp: left, top, right, bottom, front and back.
-
alpha
Sets the opacity of this element (and its children) to a value between 0..1.
-
aspectRatio
Attempts to size the content to match a specified aspect ratio by trying to match one of the incoming constraints in the following order: VolumeConstraints.maxWidth, VolumeConstra…
-
constrain
Constrains the dimensions of this VolumeConstraints object to fit within the bounds of the other VolumeConstraints object.
-
constrainDepth
Constrains a given depth value to fit within the bounds of this VolumeConstraints object.
-
constrainHeight
Constrains a given height value to fit within the bounds of this VolumeConstraints object.
-
constrainWidth
Constrains a given width value to fit within the bounds of this VolumeConstraints object.
-
currentValueOf
Returns the current value of local at the position in the composition hierarchy of this modifier's attached layout node.
-
depth
Declare the preferred size of the content to be exactly depth dp along the z dimension.
-
depthIn
Constrain the depth of the content to be between mindp and maxdp as permitted by the incoming measurement constraints.
- div
-
fillMaxDepth
Have the content fill (possibly only partially) the VolumeConstraints.maxDepth of the incoming measurement constraints, by setting the minimum depthVolumeConstraints.minDepth and…
-
fillMaxHeight
Have the content fill (possibly only partially) the VolumeConstraints.maxHeight of the incoming measurement constraints, by setting the minimum heightVolumeConstraints.minHeight a…
-
fillMaxSize
Have the content fill (possibly only partially) the VolumeConstraints.maxWidth, VolumeConstraints.maxHeight, and VolumeConstraints.maxDepth of the incoming measurement constraints.
-
fillMaxWidth
Have the content fill (possibly only partially) the VolumeConstraints.maxWidth of the incoming measurement constraints, by setting the minimum widthVolumeConstraints.minWidth and…
-
gravityAligned
A SubspaceModifier that forces the content to remain upright, aligned with gravity by isolating the element's yaw by cancelling parent pitch and roll.
-
height
Declare the preferred size of the content to be exactly height dp along the y dimension.
-
heightIn
Constrain the height of the content to be between mindp and maxdp as permitted by the incoming measurement constraints.
-
invalidateMeasurement
Requests a remeasure of the SubspaceLayoutModifierNode composition tree.
-
invalidatePlacement
Requests a relayout of the SubspaceLayoutModifierNode composition tree.
-
layout
Creates a node that allows changing how the wrapped element is measured and laid out.
-
offset
Creates a new VolumeConstraints object by offsetting the minimum and maximum values of this one.
-
onGloballyPositioned
Invoke onGloballyPositioned with the SubspaceLayoutCoordinates of the element when the global position or the orientation of the content may have changed.
-
onSizeChanged
Invokes `onSizeChanged` with the `IntVolumeSize` of the element when its size changes.
-
padding
Apply additional space along each edge of the content in Dp: left, right.
-
pointerHoverIcon
When present, this modifier defines how the pointer icon will be displayed when the spatial pointer hovers over an element.
-
requestFullSpace
Request that the system places the application into full space mode.
-
requestHomeSpace
Request that the system places the application into home space mode.
-
requiredDepth
Declare the size of the content to be exactly depth dp along the z dimension, disregarding the incoming VolumeConstraints.
-
requiredDepthIn
Constrain the depth of the content to be between `min` dp and `max` dp, disregarding the incoming measurement VolumeConstraints.
-
requiredHeight
Declare the size of the content to be exactly height dp along the y dimension, disregarding the incoming VolumeConstraints.
-
requiredHeightIn
Constrain the height of the content to be between `min` dp and `max` dp, disregarding the incoming measurement VolumeConstraints.
-
requiredSize
Declare the size of the content to be exactly a size dp cube, disregarding the incoming VolumeConstraints.
-
requiredSizeIn
Constrain the size of the content to be between min and max dp, disregarding the incoming measurement VolumeConstraints.
-
requiredWidth
Declare the size of the content to be exactly width dp along the x dimension, disregarding the incoming VolumeConstraints.
-
requiredWidthIn
Constrain the width of the content to be between `min` dp and `max` dp, disregarding the incoming measurement VolumeConstraints.
-
rotate
Rotate a subspace element (i.e.
-
rotateToLookAtUser
A SubspaceModifier that continuously rotates content so that it faces the user at all times.
-
scale
Scale the contents of the composable by the scale factor along horizontal, vertical, and depth axes.
-
semantics
Add semantics key/value pairs to the layout node, for use in testing, accessibility, etc.
-
size
Declare the preferred size of the content to be exactly a size dp cube.
-
sizeIn
Constrain the size of the content to be between min and max dp as permitted by the incoming measurement constraints.
-
spatialSmoothFeatheringEffect
Defines a spatialSmoothFeatheringEffect based on the percent width and height of the layout.
-
testTag
Applies a tag to allow modified element to be found in tests.
- times
-
toMeter
Converts a Dp value to Meter.
-
width
Declare the preferred size of the content to be exactly width dp along the x dimension.
-
widthIn
Constrain the width of the content to be between mindp and maxdp as permitted by the incoming measurement constraints.
XR Compose
Jetpack Compose API reference for compose.