Modules§
- allocator
- Manages mesh vertex and index buffers.
- morph
- primitives
- Mesh generation for primitive shapes.
- skinning
Structs§
- Annulus
Mesh Builder - A builder for creating a
Mesh
with anAnnulus
shape. - Base
Mesh Pipeline Key - Our base mesh pipeline key bits start from the highest bit and go
downward. The PBR mesh pipeline key bits start from the lowest bit and
go upward. This allows the PBR bits in the downstream crate
bevy_pbr
to coexist in the same field without any shifts. - Capsule2d
Mesh Builder - A builder used for creating a
Mesh
with aCapsule2d
shape. - Capsule3d
Mesh Builder - A builder used for creating a
Mesh
with aCapsule3d
shape. - Circle
Mesh Builder - A builder used for creating a
Mesh
with aCircle
shape. - Circular
Sector Mesh Builder - A builder used for creating a
Mesh
with aCircularSector
shape. - Circular
Segment Mesh Builder - A builder used for creating a
Mesh
with aCircularSegment
shape. - Cone
Mesh Builder - A builder used for creating a
Mesh
with aCone
shape. - Conical
Frustum Mesh Builder - A builder used for creating a
Mesh
with aConicalFrustum
shape. - Convex
Polygon Mesh Builder - A builder used for creating a
Mesh
with aConvexPolygon
shape. - Cylinder
Mesh Builder - A builder used for creating a
Mesh
with aCylinder
shape. - Ellipse
Mesh Builder - A builder used for creating a
Mesh
with anEllipse
shape. - Extrusion
Builder - A builder used for creating a
Mesh
with anExtrusion
shape. - Mesh
- A 3D object made out of vertices representing triangles, lines, or points, with “attribute” values for each vertex.
- Mesh2d
- A component for 2D meshes. Requires a
MeshMaterial2d
to be rendered, commonly using aColorMaterial
. - Mesh3d
- A component for 3D meshes. Requires a
MeshMaterial3d
to be rendered, commonly using aStandardMaterial
. - Mesh
Plugin - Adds the
Mesh
as an asset and makes sure that they are extracted and prepared for the GPU. - Mesh
Vertex Attribute - Mesh
Vertex Attribute Id - Mesh
Vertex Buffer Layout - Mesh
Vertex Buffer Layout Ref - Describes the layout of the mesh vertices in GPU memory.
- Mesh
Vertex Buffer Layouts - Stores the single copy of each mesh vertex buffer layout.
- Missing
Vertex Attribute Error - Morph
Plugin - Inherit weights from glTF mesh parent entity to direct bevy mesh child entities (ie: glTF primitive).
- Plane
Mesh Builder - A builder used for creating a
Mesh
with aPlane3d
shape. - Rectangle
Mesh Builder - A builder used for creating a
Mesh
with aRectangle
shape. - Regular
Polygon Mesh Builder - A builder used for creating a
Mesh
with aRegularPolygon
shape. - Render
Mesh - The render world representation of a
Mesh
. - Rhombus
Mesh Builder - Sphere
Mesh Builder - A builder used for creating a
Mesh
with anSphere
shape. - Torus
Mesh Builder - A builder used for creating a
Mesh
with aTorus
shape. - Triangle2d
Mesh Builder - A builder used for creating a
Mesh
with aTriangle2d
shape. - Vertex
Attribute Descriptor - Vertex
Buffer Layout - Describes how the vertex buffer is interpreted.
Enums§
- Capsule
UvProfile - Manner in which UV coordinates are distributed vertically.
- Circular
Mesh UvMode - Specifies how to generate UV-mappings for the
CircularSector
andCircularSegment
shapes. - Cone
Anchor - Anchoring options for
ConeMeshBuilder
- Cylinder
Anchor - Anchoring options for
CylinderMeshBuilder
- Generate
Tangents Error - Failed to generate tangents for the mesh.
- Icosphere
Error - An error when creating an icosphere
Mesh
from aSphereMeshBuilder
. - Indices
- An array of indices into the
VertexAttributeValues
for a mesh. - Mesh
Triangles Error - An error that occurred while trying to extract a collection of triangles from a
Mesh
. - Mesh
Winding Invert Error - An error that occurred while trying to invert the winding of a
Mesh
. - Perimeter
Segment - A type representing a segment of the perimeter of an extrudable mesh.
- Primitive
Topology - Primitive type the input mesh is composed of.
- Render
Mesh Buffer Info - The index/vertex buffer info of a
RenderMesh
. - Sphere
Kind - A type of sphere mesh.
- Vertex
Attribute Values - Contains an array where each entry describes a property of a single vertex.
Matches the
VertexFormats
.
Constants§
Traits§
- Extrudable
- A trait required for implementing
Meshable
forExtrusion<T>
. - Mesh
Aabb - Mesh
Builder - A trait used to build
Mesh
es from a configuration - Meshable
- A trait for shapes that can be turned into a
Mesh
. - Vertex
Format Size
Functions§
- inherit_
weights - Bevy meshes are gltf primitives,
MorphWeights
on the bevy node entity should be inherited by children meshes.