UI
Screen-space layout, images, masks, and hints.
Commonly used
ScreenTransformUsed for positioning objects in 2D screen space.ImageUsed to display 2D textures within a scene.CanvasA root of the 2D ScreenTransform hierarchy in 3D space.ScreenRegionComponentOverrides the settings on a local ScreenTransform to fit specific screen region on the device.RectangleSetterPositions ScreenTransform according to a cropped region of a texture provided by CropTextureProvider.
Guides
Flexbox LayoutThe Asset Library contains three Custom Components to help manage Horizontal Layout, Vertical Layout, and Layout Element.Image CarouselImage Carousel is a rotary UI element that enables the selection of one item between many.UI Scroll ViewThe Asset Library contains three Custom Component that allows to scroll one screen transform within the bounds of another.Components ListEvery component and provider in Interaction Kit 4.0.0 for SPECS: interactors, Interactables, cursors, rays, hand visuals, anchoring, and feedback helpers.HelpersInteraction Kit helper components for SPECS: audio, color, outline, and squish feedback for Interactables, plus a ScreenTransform adapter and a proximity sensor.Face In VideoThe Face In Video example allows you to attach your own content to a video using tracking data from After Effects.
All APIs in this topic
Add components to a scene object.
Components, assets, and modules
| API | Description |
|---|---|
| Canvas | A root of the 2D ScreenTransform hierarchy in 3D space. |
| HintsComponent | Used to display text hints in a Lens. |
| Image | Used to display 2D textures within a scene. |
| MaskingComponent | Masks out visuals and InteractionComponent touch events area within a rectangle defined by ScreenTransform component. |
| RectangleSetter | Positions ScreenTransform according to a cropped region of a texture provided by CropTextureProvider. |
| ScreenRegionComponent | Overrides the settings on a local ScreenTransform to fit specific screen region on the device. |
| ScreenTransform | Used for positioning objects in 2D screen space. |
Enums
| API | Description |
|---|---|
| ScreenRegionType | Types of screen regions that can be used with ScreenRegionComponent. |
| StretchMode | Options for stretching a mesh to fit a ScreenTransform Used in RenderMeshVisual stretchMode property, as long as the SceneObject has a ScreenTransform attached. |