Module ambient_ui_native::guest_api
source · Expand description
This file only exists because Enums aren’t available in the wasm layer yet; once that exists this can be removed
Functions
- Align horizontal begin: Layout alignment: horizontal begin.
- Align horizontal center: Layout alignment: horizontal center.
- Align horizontal end: Layout alignment: horizontal end.
- Align vertical begin: Layout alignment: vertical begin.
- Align vertical center: Layout alignment: vertical center.
- Align vertical end: Layout alignment: vertical end.
- Docking bottom: Layout docking: bottom.
- Docking fill: Layout docking: fill.
- Docking left: Layout docking: left.
- Docking right: Layout docking: right.
- Docking top: Layout docking: top.
- Fit horizontal children: Layout fit: horizontal children.
- Fit horizontal none: Layout fit: horizontal none.
- Fit horizontal parent: Layout fit: horizontal parent.
- Fit vertical children: Layout fit: vertical children.
- Fit vertical none: Layout fit: vertical none.
- Fit vertical parent: Layout fit: vertical parent.
- GPU UI size: Upload the width and height of this UI element to the GPU.
- Height: The height of a UI element.
- Initialize the components for the module
- Is book file: This is a file in a
layout_bookcase
. - Bookcase layout: Min-max bookcase layout.
- Dock layout: Top-down dock layout.
- Flow layout: Bottom-up flow layout.
- Layout width to children: Width to children.
- Margin: Layout margin: [top, right, bottom, left].
- Maximum height: The maximum height of a UI element.
- Maximum width: The maximum width of a UI element.
- Mesh to local from size: Update the
mesh_to_local
based on the width and height of this entity. - Minimum height: The minimum height of a UI element.
- Minimum width: The minimum width of a UI element.
- Orientation horizontal: Layout orientation: horizontal.
- Orientation vertical: Layout orientation: vertical.
- Padding: Layout padding: [top, right, bottom, left].
- Screen: This entity will be treated as a screen. Used by the Screen ui component.
- Space between items: Space between items in a layout.
- Width: The width of a UI element.