All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Luminous::SpriteRenderer::Sprite Struct Reference

Individual sprite. More...

#include <Luminous/SpriteRenderer.hpp>

Public Attributes

Nimble::Vector4f color
 The color of the sprite.
 
Nimble::Vector2f location
 Location of the sprite.
 
float rotation
 The rotation of the sprite.
 
float size
 The size (diameter) of the particle.
 
Nimble::Vector2f velocity
 The velocity of the sprite. More...
 

Detailed Description

Individual sprite.

Member Data Documentation

Nimble::Vector2f Luminous::SpriteRenderer::Sprite::velocity

The velocity of the sprite.

The velocity information is used to implement motion blur/stretching.