156 {
157 int i = 0;
160 {
162 vector pos = utsd.GetValue(0).ToVector();
165 m_RootWidget[i].SetPos(screen_pos_stats[0], screen_pos_stats[1]);
166
167 if (screen_pos_stats[2] > 0 && screen_pos_stats[0] > 0 && screen_pos_stats[1] > 0)
168 {
171 }
172 else
173 {
175 }
176 }
177
179 {
181 {
183 }
184 }
185 }
proto native vector GetScreenPos(vector world_pos)
Transforms position in world to position in screen in pixels as x, y component of vector,...
void UpdateStatWidget(int rowIndex, UTemperatureSourceDebug utsd)
ref array< ref UTemperatureSourceDebug > m_UTemperatureSourceDebugs
const int MAX_SIMULTANEOUS_UTS
ref Widget m_RootWidget[MAX_SIMULTANEOUS_UTS]
proto native CGame GetGame()