Documentation

UI::CalcItemSize

Function

vec2 UI::CalcItemSize(const vec2&in size, float w, float h)

Calculate full item size given user provided 'size' parameter and default width/height. Default width is often == CalcItemWidth().

vec2 size

float w

float h

Returns vec2