Module mesh Copy item path Source allocator Manages mesh vertex and index buffers. morph primitives Mesh generation for primitive shapes . skinning AnnulusMeshBuilder A builder for creating a Mesh
with an Annulus
shape. BaseMeshPipelineKey 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. Capsule2dMeshBuilder A builder used for creating a Mesh
with a Capsule2d
shape. Capsule3dMeshBuilder A builder used for creating a Mesh
with a Capsule3d
shape. CircleMeshBuilder A builder used for creating a Mesh
with a Circle
shape. CircularSectorMeshBuilder A builder used for creating a Mesh
with a CircularSector
shape. CircularSegmentMeshBuilder A builder used for creating a Mesh
with a CircularSegment
shape. ConeMeshBuilder A builder used for creating a Mesh
with a Cone
shape. ConicalFrustumMeshBuilder A builder used for creating a Mesh
with a ConicalFrustum
shape. ConvexPolygonMeshBuilder A builder used for creating a Mesh
with a ConvexPolygon
shape. CuboidMeshBuilder A builder used for creating a Mesh
with a Cuboid
shape. CylinderMeshBuilder A builder used for creating a Mesh
with a Cylinder
shape. EllipseMeshBuilder A builder used for creating a Mesh
with an Ellipse
shape. ExtrusionBuilder A builder used for creating a Mesh
with an Extrusion
shape. MergeMeshError Error that can occur when calling Mesh::merge
. 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 a ColorMaterial
. Mesh3d A component for 3D meshes. Requires a MeshMaterial3d
to be rendered, commonly using a StandardMaterial
. MeshBuildersPlugin Registers all MeshBuilder
types. MeshPlugin Adds the Mesh
as an asset and makes sure that they are extracted and prepared for the GPU. MeshTag A component that stores an arbitrary index used to identify the mesh instance when rendering. MeshVertexAttribute MeshVertexAttributeId MeshVertexBufferLayout MeshVertexBufferLayoutRef Describes the layout of the mesh vertices in GPU memory. MeshVertexBufferLayouts Stores the single copy of each mesh vertex buffer layout. MissingVertexAttributeError MorphPlugin Inherit weights from glTF mesh parent entity to direct
bevy mesh child entities (ie: glTF primitive).PlaneMeshBuilder A builder used for creating a Mesh
with a Plane3d
shape. RectangleMeshBuilder A builder used for creating a Mesh
with a Rectangle
shape. RegularPolygonMeshBuilder A builder used for creating a Mesh
with a RegularPolygon
shape. RenderMesh The render world representation of a Mesh
. RhombusMeshBuilder A builder for creating a Mesh
with an Rhombus
shape. SphereMeshBuilder A builder used for creating a Mesh
with an Sphere
shape. TetrahedronMeshBuilder A builder used for creating a Mesh
with a Tetrahedron
shape. TorusMeshBuilder A builder used for creating a Mesh
with a Torus
shape. Triangle2dMeshBuilder A builder used for creating a Mesh
with a Triangle2d
shape. Triangle3dMeshBuilder A builder used for creating a Mesh
with a Triangle3d
shape. VertexAttributeDescriptor VertexBufferLayout Describes how the vertex buffer is interpreted. CapsuleUvProfile Manner in which UV coordinates are distributed vertically. CircularMeshUvMode Specifies how to generate UV-mappings for the CircularSector
and CircularSegment
shapes. ConeAnchor Anchoring options for ConeMeshBuilder
CylinderAnchor Anchoring options for CylinderMeshBuilder
GenerateTangentsError Failed to generate tangents for the mesh. IcosphereError An error when creating an icosphere Mesh
from a SphereMeshBuilder
. Indices An array of indices into the VertexAttributeValues
for a mesh. MeshTrianglesError An error that occurred while trying to extract a collection of triangles from a Mesh
. MeshWindingInvertError An error that occurred while trying to invert the winding of a Mesh
. PerimeterSegment A type representing a segment of the perimeter of an extrudable mesh. PrimitiveTopology Primitive type the input mesh is composed of. RenderMeshBufferInfo The index/vertex buffer info of a RenderMesh
. SphereKind A type of sphere mesh. VertexAttributeValues Contains an array where each entry describes a property of a single vertex.
Matches the VertexFormats
. VertexFormat Vertex Format for a VertexAttribute
(input). INDEX_BUFFER_ASSET_INDEX VERTEX_ATTRIBUTE_BUFFER_ID Extrudable A trait required for implementing Meshable
for Extrusion<T>
. MeshAabb MeshBuilder A trait used to build Mesh
es from a configuration Meshable A trait for shapes that can be turned into a Mesh
. face_area_normal Compute a vector whose direction is the normal of the triangle formed by
points a, b, c, and whose magnitude is double the area of the triangle. This
is useful for computing smooth normals where the contributing normals are
proportionate to the areas of the triangles as discussed
here . face_normal Compute the normal of a face made of three points: a, b, and c. inherit_weights Bevy meshes are gltf primitives, MorphWeights
on the bevy node entity
should be inherited by children meshes. mark_3d_meshes_as_changed_if_their_assets_changed A system that marks a Mesh3d
as changed if the associated Mesh
asset
has changed.