Package-level declarations
Types
A builder for spatial UI attachments
Loaded model.
The state of loading a 3D model.
The resizability of a 3D model.
Define datasource support by SpatialModelView.
Scope for SpatialModelView content function.
The attachments belong to a SpatialView
Functions
Creates a AttachmentPanelComponent in another Composable. Notice that this function is for your convenience to create a AttachmentPanelComponent in your Composable, once the return value set to an Entity, your later changes will not take effect.
Sets the content of the AttachmentPanelComponent.
Display 3d model when load success.
Converts the Dp size to IntSize in pixel for AttachmentPanelComponent using. If the Dp is Dp.Unspecified, the IntSize will be WRAP_CONTENT.
Converts the Float size of length unit to IntSize in pixel for AttachmentPanelComponent using. If the Float is Float.NaN, the IntSizewill be WRAP_CONTENT.
Set compose color to PhysicallyBasedMaterial for convenience.
Set compose color to UnlitMaterial for convenience.
A view that asynchronously loads and displays a 3D model from source.
The container for 3D content.