#include <UIelement.h>
| Valores enumerados |
|---|
| FIT |
|
| FILL |
|
| STRETCH |
|
| UIelement::UIelement |
( |
BehaviorType |
behavior = BehaviorType::STRETCH, |
|
|
Vec2 |
center = Vec2(0.5, 0.5) |
|
) |
| |
|
protected |
| Rect UIelement::ComputeBoundingbox |
( |
Rect |
parentCanvas | ) |
|
| Rect UIelement::ComputeBox |
( |
Rect |
boundingBox = {-1.,-1.,-1.,-1.} | ) |
|
| Rect UIelement::GetAnchors |
( |
void |
| ) |
const |
| Rect UIelement::GetBoundingBox |
( |
void |
| ) |
const |
| Rect UIelement::GetOffsets |
( |
void |
| ) |
const |
| bool UIelement::Is |
( |
std::string |
UItype | ) |
const |
|
virtual |
| UIelement::operator Rect |
( |
| ) |
const |
| void UIelement::Render |
( |
bool |
debugRender = false | ) |
const |
|
virtual |
| void UIelement::SetAnchors |
( |
Vec2 |
min, |
|
|
Vec2 |
max |
|
) |
| |
| void UIelement::SetCenter |
( |
Vec2 |
center | ) |
|
| void UIelement::SetOffsets |
( |
Vec2 |
min, |
|
|
Vec2 |
max |
|
) |
| |
| void UIelement::Update |
( |
float |
dt, |
|
|
Rect |
parentCanvas |
|
) |
| |
|
virtual |
| Rect UIelement::boundingBox |
|
protected |
| Vec2 UIelement::kernelSize |
|
protected |
A documentação para esta classe foi gerada a partir dos seguintes arquivos: