Crate ambient_rect

Source

Structs§

Corners
RectMaterial
RectMaterialKey
RectMaterialParams
RectMaterialShaderKey

Functions§

background_color
Background color: Background color of an entity with a rect component.
border_color
Border color: Border color of an entity with a rect component.
border_radius
Border radius: Radius for each corner of an entity with a rect component.
border_thickness
Border thickness: Border thickness of an entity with a rect component.
get_rect_shader
line_from
Line from: Start point of a line.
line_to
Line to: End point of a line.
line_width
Line width: Width of line.
rect
Rect: If attached to an entity, the entity will be converted to a UI rectangle, with optionally rounded corners and borders.
systems