29 Axis(
const std::shared_ptr<Vector2i>& coordinate,
const std::shared_ptr<Vector2i>& backgroundSize);
42 std::shared_ptr<Node> buildAxis();
43 std::shared_ptr<Node> buildLabel();
46 float m_devicePixelRatio;
48 std::shared_ptr<Color3f> m_fontColor;
49 std::string m_fontFamily;
52 std::shared_ptr<Axis>
_axis(
const std::shared_ptr<Vector2i>& coordinate,
const std::shared_ptr<Vector2i>& backgroundSize);
Color3f fontColor() const
std::string fontFamily() const
void sync(const std::shared_ptr< Camera > &camera)
void setFontFamily(const std::string &family)
void setFontSize(int size)
void setFontColor(const Color3f &color)
Axis(const std::shared_ptr< Vector2i > &coordinate, const std::shared_ptr< Vector2i > &backgroundSize)
The Color3f class inherits from Color3, specilizing the template parameters to float for element type...
Definition color.h:105
The Pass class represents a rendering pass within a graphics pipeline.
Definition pass.h:32
CameraPtr camera
This member holds a shared pointer to a Camera object which the current pass uses for rendering.
Definition pass.h:37
std::shared_ptr< Axis > _axis(const std::shared_ptr< Vector2i > &coordinate, const std::shared_ptr< Vector2i > &backgroundSize)