| 433 | } |
| 434 | |
| 435 | Float2 ManagedEditor::GameViewportToScreen(const Float2& viewportPos) const |
| 436 | { |
| 437 | Float2 result = viewportPos; |
| 438 | if (HasManagedInstance()) |
| 439 | { |
| 440 | if (Internal_GameViewportToScreen == nullptr) |
| 441 | { |
| 442 | Internal_GameViewportToScreen = GetClass()->GetMethod("Internal_GameViewportToScreen", 1); |
| 443 | ASSERT(Internal_GameViewportToScreen); |
| 444 | } |
| 445 | void* params[1]; |
| 446 | params[0] = &result; |
| 447 | Internal_GameViewportToScreen->Invoke(GetManagedInstance(), params, nullptr); |
| 448 | } |
| 449 | return result; |
| 450 | } |
| 451 | |
| 452 | Window* ManagedEditor::GetGameWindow(bool forceGet) |
| 453 | { |
nothing calls this directly
no test coverage detected