Shkyera Engine
Easy to use, game engine for Python
shkyera::TransformUIComponent Class Reference

A class representing a user interface component for manipulating object transformations. More...

#include <TransformUIComponent.hpp>

Inheritance diagram for shkyera::TransformUIComponent:
[legend]

Private Member Functions

virtual void draw () override
 Implementation of the abstract draw method to render the UI for this component. More...
 
 UIComponent (std::string name, std::shared_ptr< GameObject > object)
 Constructor to create a UI component with a specified name and associated game object. More...
 

Additional Inherited Members

- Public Member Functions inherited from shkyera::UIComponent
 UIComponent (std::string name, std::shared_ptr< GameObject > object)
 Constructor to create a UI component with a specified name and associated game object. More...
 
- Static Public Member Functions inherited from shkyera::UIComponent
static void addComponentToObject (std::shared_ptr< GameObject > object, std::shared_ptr< UIComponent > component)
 Static method to add a UI component to a game object. More...
 
static std::vector< std::shared_ptr< UIComponent > > getComponentsOfObject (std::shared_ptr< GameObject > object)
 Static method to retrieve a list of UI components associated with a game object. More...
 
- Protected Attributes inherited from shkyera::UIComponent
uint64_t _uuid
 A unique identifier for the UI component. More...
 
std::string _name
 The name of the UI component. More...
 
std::shared_ptr< GameObject_object
 The game object associated with the UI component. More...
 

Detailed Description

A class representing a user interface component for manipulating object transformations.

The TransformUIComponent class is designed to provide a user interface for manipulating the transformation of objects, such as their position, rotation, and scale.

Member Function Documentation

◆ draw()

void shkyera::TransformUIComponent::draw ( )
overrideprivatevirtual

Implementation of the abstract draw method to render the UI for this component.

Implements shkyera::UIComponent.

◆ UIComponent()

shkyera::UIComponent::UIComponent
private

Constructor to create a UI component with a specified name and associated game object.

Parameters
nameThe name of the UI component.
objectA shared pointer to the game object associated with the UI component.

The documentation for this class was generated from the following files: