Struct raylib::core::drawing::RaylibMode3D [−][src]
pub struct RaylibMode3D<'a, T>(_);
Trait Implementations
Sets background color (framebuffer clear color).
Define default texture used to draw shapes
Draws a pixel (Vector version).
Draws a line.
Draws a line (Vector version).
Draws a line with thickness.
Draws a line using cubic-bezier curves in-out.
Draw line using quadratic bezier curves with a control point
Draws a color-filled circle.
Draw a piece of a circle
Draw circle sector outline
Draws a gradient-filled circle.
Draws a color-filled circle (Vector version).
Draws circle outline.
Draws ellipse.
Draws ellipse.
Draw ring
Draw ring lines
Draws a color-filled rectangle.
Draws a color-filled rectangle (Vector version).
Draws a color-filled rectangle from rec
.
Draws a color-filled rectangle with pro parameters.
Draws a vertical-gradient-filled rectangle. Read more
Draws a horizontal-gradient-filled rectangle. Read more
Draws a gradient-filled rectangle with custom vertex colors. Read more
Draws rectangle outline.
Draws rectangle outline with extended parameters.
Draws rectangle outline with extended parameters.
Draws rectangle outline with extended parameters.
Draws a triangle.
Draws a triangle using lines.
Draw a triangle fan defined by points.
Draw a triangle strip defined by points
Draws a regular polygon of n sides (Vector version).
Draws a regular polygon of n sides (Vector version).
Draws a texture
using specified position and tint
color.
Draws a texture
using specified position
vector and tint
color.
Draws a texture
with extended parameters.
Draws from a region of texture
defined by the source_rec
rectangle.
Draw texture quad with tiling and offset parameters
Draw from a region of texture
defined by the source_rec
rectangle with pro parameters.
Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.
Draws a texture (or part of it) that stretches or shrinks nicely
Draws a texture (or part of it) that stretches or shrinks nicely
Draws text (using default font).
Draws text using font
and additional parameters.
Draws text using font
and additional parameters.
Draws text using font
and additional parameters.
Draw a point in 3D space, actually a small line
fn draw_triangle3D(
&mut self,
v1: impl Into<Vector3>,
v2: impl Into<Vector3>,
v3: impl Into<Vector3>,
color: impl Into<Color>
)
// Draw a triangle strip defined by points
Draws a line in 3D world space.
Draws a circle in 3D world space.
Draws a cube.
Draws a cube (Vector version).
Draws a cube in wireframe.
Draws a textured cube.
Draws a sphere.
Draws a sphere with extended parameters.
Draws a sphere in wireframe.
Draws a cylinder.
Draws a cylinder in wireframe.
Draws an X/Z plane.
Draws a model (with texture if set).
Draws a model with extended parameters.
Draws a model with wires (with texture if set).
Draws a model with wires.
Draws a bounding box (wires).
Draws a billboard texture.
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for RaylibMode3D<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for RaylibMode3D<'a, T> where
T: Send,
impl<'a, T> Sync for RaylibMode3D<'a, T> where
T: Sync,
impl<'a, T> Unpin for RaylibMode3D<'a, T>
impl<'a, T> !UnwindSafe for RaylibMode3D<'a, T>
Blanket Implementations
Mutably borrows from an owned value. Read more