|
TGUI_CONSTEXPR | Vector2 () |
| Default constructor.
|
|
TGUI_CONSTEXPR | Vector2 (T xValue, T yValue) |
| Constructor to create from X and Y values.
|
|
template<typename U > |
TGUI_CONSTEXPR | Vector2 (const Vector2< U > &vec) |
| Constructs the vector from an another Vector2 with a different type. More...
|
|
TGUI_CONSTEXPR | Vector2 (const sf::Vector2< T > &vec) |
| Copy constructor to create from an sf::Vector2.
|
|
| Vector2 (const char *str) |
| Constructor to create from a string.
|
|
| Vector2 (String str) |
| Constructor to create from a string.
|
|
| operator sf::Vector2< T > () const |
| Converts this object into an sf::Vector2 object.
|
|
|
T | x = 0 |
| X coordinate of the vector.
|
|
T | y = 0 |
| Y coordinate of the vector.
|
|
◆ Vector2()
template<typename T >
template<typename U >
Constructs the vector from an another Vector2 with a different type.
- Parameters
-
The documentation for this class was generated from the following file: