Expand description
A collection of geometries implementing the Geometry trait.
A geometry together with a material can be rendered directly, or combined into an object (see Gm) that can be used in a render call, for example RenderTarget::render.
Structs§
- A bounding box geometry used for visualising an AxisAlignedBoundingBox.
- A circle 2D geometry which can be rendered using a camera created by Camera::new_2d.
- A CPU-side version of a triangle mesh.
- Similar to Mesh, except it is possible to render many instances of the same mesh efficiently.
- Defines the attributes for the instances of the model defined in InstancedMesh or InstancedModel.
- A set of key frames and transformations associated with a specific animation for a specific Primitive.
- Contains a set of key frames for rotations, translations, scales and morph weights.
- A rectangle 2D geometry which can be rendered using a camera created by Camera::new_2d.
- A triangle mesh Geometry.
- Particle system that can be used to simulate effects such as fireworks, fire, smoke or water particles.
- Used for defining the attributes for each particle in a ParticleSystem, for example its starting position and velocity.
- Represents a set of points in 3D space, usually created with a scanner.
- A rectangle 2D geometry which can be rendered using a camera created by Camera::new_2d.
- A set of sprites, ie. a set of quads that orients itself towards the camera.
Enums§
- A CPU-side version of a geometry.
- An array of indices. Supports different data types.
- An array of positions. Supports f32 and f64 data types.
Traits§
- Represents a 3D geometry that, together with a material, can be rendered using Geometry::render_with_material. Alternatively, a geometry and a material can be combined in a Gm, thereby creating an Object which can be used in a render call, for example RenderTarget::render.