Renderable animatable component. More...
#include <wizard_engine/animatable.hpp>
#include <wizard_engine/assets.hpp>
#include <wizard_engine/component.hpp>
#include <wizard_engine/enums.hpp>
#include <wizard_engine/export.hpp>
#include <wizard_engine/renderable.hpp>
Go to the source code of this file.
Classes | |
class | wze::sprite |
Namespaces | |
namespace | wze |
Wizard Engine. | |
Renderable animatable component.
Constructs a sprite instance.
Sets whether the y position is affected by the angle.
Returns whether the y position is affected by the angle.
Sets whether the x position is affected by the angle.
Returns whether the x position is affected by the angle.
Sets whether the angle is attached to entities.
Returns whether the angle is attached to entities.
Sets whether the y position is attached to entities.
Returns whether the y position is attached to entities.
Sets whether the x position is attached to entities.
Returns whether the x position is attached to entities.
Sets the angle offset of the sprite.
Returns the angle offset of the sprite.
Sets the y offset of the sprite.
Returns the y offset of the sprite.
Sets the x offset of the sprite.
Returns the x offset of the sprite.
Sets whether the sprite should be animated or not.
Returns whether the sprite should be animated or not.
Sets the priority of the sprite in the render queue.
Returns the priority of the sprite in the render queue.
Sets the visibility of the sprite.
Returns the visibility of the sprite.
Sets whether the sprite is flipped on one of its axes.
Returns whether the sprite is flipped on one of its axes.
Sets the alpha color modifier of the texture.
Returns the alpha color modifier of the texture.
Sets the blue color modifier of the texture.
Returns the blue color modifier of the texture.
Sets the green color modifier of the texture.
Returns the green color modifier of the texture.
Sets the red color modifier of the texture.
Returns the red color modifier of the texture.
Sets the texture of the sprite.
Returns the texture of the sprite.
Sets whether the sprite is spatial or not.
Returns whether the sprite is spatial or not.
Sets the height of the sprite.
Returns the height of the sprite.
Sets the width of the sprite.
Returns the width of the sprite.
Sets the angle of the sprite.
Returns the angle of the sprite.
Sets the z position of the sprite.
Returns the z position of the sprite.
Sets the y position of the sprite.
Returns the y position of the sprite.
Sets the x position of the sprite.
Returns the x position of the sprite.
x | X position of the sprite. |
y | Y position of the sprite. |
z | Z position of the sprite. |
angle | Angle of the sprite. |
width | Width of the sprite. |
height | Height of the sprite. |
spatial | Whether the sprite is spatial or not. |
texture | Texture of the sprite. |
color_r | Red color modifier of the texture. |
color_g | Green color modifier of the texture. |
color_b | Blue color modifier of the texture. |
color_a | Alpha color modifier of the texture. |
flip | Whether the sprite is flipped on one of its axes. |
visible | Visibility of the sprite. |
priority | Priority of the sprite in the render queue. |
animated | Whether the sprite should be animated or not. |
x_offset | X offset of the sprite. |
y_offset | Y offset of the sprite. |
angle_offset | Angle offset of the sprite. |
attach_x | Whether the x position is attached to entities. |
attach_y | Whether the y position is attached to entities. |
attach_angle | Whether the angle is attached to entities. |
x_angle_lock | Whether the x position is affected by the angle. |
y_angle_lock | Whether the y position is affected by the angle. |
x | X position of the sprite. |
y | Y position of the sprite. |
z | Z position of the sprite. |
angle | Angle of the sprite. |
width | Width of the sprite. |
height | Height of the sprite. |
spatial | Whether the sprite is spatial or not. |
texture | Texture of the sprite. |
color_r | Red color modifier of the texture. |
color_g | Green color modifier of the texture. |
color_b | Blue color modifier of the texture. |
color_a | Alpha color modifier of the texture. |
flip | Whether the sprite is flipped on one of its axes. |
visible | Visibility of the sprite. |
priority | Priority of the sprite in the render queue. |
animated | Whether the sprite should be animated or not. |
x_offset | X offset of the sprite. |
y_offset | Y offset of the sprite. |
angle_offset | Angle offset of the sprite. |
attach_x | Whether the x position is attached to entities. |
attach_y | Whether the y position is attached to entities. |
attach_angle | Whether the angle is attached to entities. |
x_angle_lock | Whether the x position is affected by the angle. |
y_angle_lock | Whether the y position is affected by the angle. |
Definition in file sprite.hpp.