DrawObject
Generated from engine/render/draw_object.h at 862e08b. The text under each declaration is the header's own comment, word for word. About the reference says how these pages are made.
#include "engine/render/draw_object.h" · namespace labrador
class DrawObject
Section titled “class DrawObject”~DrawObject · DrawObject
Section titled “~DrawObject · DrawObject”DrawObject() = default; float rotation = 0.0f, float layer_depth = 0.0f);render_resources · colour · draw_rotation · origin · flip · layer_depth (protected)
Section titled “render_resources · colour · draw_rotation · origin · flip · layer_depth (protected)”virtual float draw_rotation() const;virtual float layer_depth() const;set_colour · set_draw_rotation · set_origin · set_flip · set_layer_depth (protected)
Section titled “set_colour · set_draw_rotation · set_origin · set_flip · set_layer_depth (protected)”virtual void set_draw_rotation(float rotation);virtual void set_layer_depth(float layer_depth);set_draw_rotation_by_rectangle_rotated (protected)
Section titled “set_draw_rotation_by_rectangle_rotated (protected)”Related types
Section titled “Related types”Named in the public declarations above: Colour, RectangleRotated, RenderResources, SpriteFlip, Vector2F.
In the samples and tests
Section titled “In the samples and tests”The files that include this header directly. A file can also reach it through another header.
tests/render/draw_object_tests.cpp
Development documentation (unreleased). Built from Labrador 862e08b of 2026-10-08.