Bubba-3D
0.9.0
Awesome game engine!
|
#include <IHudDrawable.h>
Public Member Functions | |
virtual void | render (ShaderProgram *shaderProgram, chag::float4x4 *projectionMatrix)=0 |
virtual void | setRelativePosition (chag::float3 position) |
virtual void | setCenterOffset (chag::float3 offset) |
virtual void | setRotation (float rotation) |
virtual void | setScale (chag::float2 scale) |
Public Attributes | |
chag::float3 | relativePosition = chag::make_vector(0.0f, 0.0f, 0.0f) |
An interface for low-level objects used by HudRenderer to render the HUD. Mainly produced by different implementations of Layout
Definition at line 28 of file IHudDrawable.h.
|
virtual |
Sets the rotation center offset. The original center is the actual center of the drawn object.
Reimplemented in GLSquare.
Definition at line 33 of file IHudDrawable.cpp.
|
virtual |
Sets a position relative to the original position calculated by Layout implementations.
Definition at line 29 of file IHudDrawable.cpp.