Module ambient_api_core::core::rect::components
source · Expand description
Auto-generated component definitions.
Functions
- Background color: Background color of an entity with a
rect
component. - Background URL: URL to an image asset.
- Border color: Border color of an entity with a
rect
component. - Border radius: Radius for each corner of an entity with a
rect
component. - Border thickness: Border thickness of an entity with a
rect
component. - Line from: Start point of a line.
- Line to: End point of a line.
- Line width: Width of line.
- Pixel Line from: Start point of a pixel sized line.
- Pixel Line to: End point of a pixel sized line.
- Rect: If attached to an entity, the entity will be converted to a UI rectangle, with optionally rounded corners and borders.
- Size from background image: Resize this rect based on the size of the background image.