Module bevy_vector_shapes::shapes
source · Expand description
Components and Enums used to define shape types.
Structs§
- Component containing the data for drawing a disc.
- Raw data sent to the disc shader to draw a disc
- Component containing the data for drawing a line.
- Raw data sent to the line shader to draw a line
- Raw data sent to the regular polygon shader to draw a regular polygon
- Raw data sent to the rectangle shader to draw a rectangle
- Component containing the data for drawing a rectangle.
- Component containing the data for drawing a regular polygon.
- Marker component for entities that should be drawn by the 3D pipeline.
- Bundle that is required to render a shape.
- Component attached to each shape to determine how it is rendered.
- Component that holds data related to a shape to be used during rendering,
- Component containing the data for drawing a triangle.
- Raw data sent to the triangle shader to draw a triangle
Enums§
- Defines how a shape will orient itself in relation to it’s transform and the camera
- Defines the way in which caps will be rendered on a supported shape.
- Used in
ShapeFill
to determine how a shape is rendered. - Defines the way in which the thickness value of shape is interpreted.
Traits§
- Extension trait for
ShapeBundle
to enable creation of bundles for disc type shapes. - Extension trait for
ShapePainter
to enable it to draw disc type shapes. - Extension trait for
ShapeSpawner
to enable spawning of entities for disc type shapes. - Extension trait for
ShapeBundle
to enable creation of line bundles. - Extension trait for
ShapePainter
to enable it to draw lines. - Extension trait for
ShapeSpawner
to enable spawning of line entities. - Extension trait for
ShapePainter
to enable it to draw rectangles. - Extension trait for
ShapeBundle
to enable creation of rectangle bundles. - Extension trait for
ShapeSpawner
to enable spawning of rectangle entities. - Extension trait for
ShapeBundle
to enable creation of regular polygon bundles. - Extension trait for
ShapePainter
to enable it to draw regular polygons. - Extension trait for
ShapeSpawner
to enable spawning of regular polygon entities. - Extension trait for
ShapeBundle
to enable creation of triangle bundles. - Extension trait for
ShapePainter
to enable it to draw triangles. - Extension trait for
ShapeSpawner
to enable spawning of triangle entities.