class Engine::Sprite
- Engine::Sprite
- Reference
- Object
Direct Known Subclasses
Defined in:
engine/engine.crConstructors
Instance Method Summary
- #background(scale = v2(1, 1), offset = v2(0, 0), color = Color::WHITE)
- #clone
- #draw(pos : Vector2, scale : Vector2 = v2(1, 1), angle = 0.0, color = Color::WHITE)
- #draw_sliced(box : AABB, color = Color::WHITE)
- #get_pixel(p)
- #tex_rect(box : AABB, offset = v2(0, 0), scale = v2(1, 1))
- #tex_triangle(p1, t1, p2, t2, p3, t3)
- #tex_triangle(p1, p2, p3, offset = v2(0, 0), scale = v2(1, 1))
- #to_unsafe : LibEngine::Sprite