Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
Hydrax::Size Struct Reference

Description

Struct wich contains an especific width and height value.

Definition at line 40 of file Help.h.

Public Member Functions

 Size ()
 
 Size (const int &size)
 
 Size (const int &width, const int &height)
 
 ~Size ()
 
void setSize (const int &size)
 
void setSize (const int &width, const int &height)
 

Data Fields

int Width
 
int Height
 

Constructor & Destructor Documentation

◆ Size() [1/3]

Hydrax::Size::Size ( )
inline

Default constructor.

Definition at line 49 of file Help.h.

◆ Size() [2/3]

Hydrax::Size::Size ( const int &  size)
inline

Constructor.

Parameters
sizeThe width and height values

Definition at line 58 of file Help.h.

◆ Size() [3/3]

Hydrax::Size::Size ( const int &  width,
const int &  height 
)
inline

Constructor.

Parameters
widthWidth value
heightHeight value

Definition at line 68 of file Help.h.

◆ ~Size()

Hydrax::Size::~Size ( )
inline

Destructor.

Definition at line 76 of file Help.h.

Member Function Documentation

◆ setSize() [1/2]

void Hydrax::Size::setSize ( const int &  size)
inline

Sets the same width and height value.

Parameters
sizeThe width and height values

Definition at line 83 of file Help.h.

◆ setSize() [2/2]

void Hydrax::Size::setSize ( const int &  width,
const int &  height 
)
inline

Sets the especified values.

Parameters
widthWidth value
heightHeight value

Definition at line 93 of file Help.h.

Field Documentation

◆ Height

int Hydrax::Size::Height

Height value.

Definition at line 45 of file Help.h.

◆ Width

int Hydrax::Size::Width

Width value.

Definition at line 43 of file Help.h.


The documentation for this struct was generated from the following file: