Crate mesh Copy item path Source morph prelude The mesh prelude. 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. InheritWeightSystems bevy_render::mesh::inherit_weights
runs in this SystemSet
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
. MeshDeserializer Use to specify extra options when deserializing a SerializedMesh
into a Mesh
. MeshPlugin Adds Mesh
as an asset. 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 PlaneMeshBuilder A builder used for creating a Mesh
with a Plane3d
shape. Polyline2dMeshBuilder A builder used for creating a Mesh
with a Polyline2d
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. RhombusMeshBuilder A builder for creating a Mesh
with an Rhombus
shape. Segment2dMeshBuilder A builder used for creating a Mesh
with a Segment2d
. SerializedMesh A version of Mesh
suitable for serializing for short-term transfer. 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. MeshMergeError Error that can occur when calling Mesh::merge
. 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. 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>
. MeshBuilder A trait used to build Mesh
es from a configuration Meshable A trait for shapes that can be turned into a Mesh
. mark_3d_meshes_as_changed_if_their_assets_changed A system that marks a Mesh3d
as changed if the associated Mesh
asset
has changed. triangle_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 . triangle_normal Compute the normal of a face made of three points: a, b, and c.