| 403 | } |
| 404 | |
| 405 | void ManagedEditor::FocusGameViewport() const |
| 406 | { |
| 407 | if (HasManagedInstance()) |
| 408 | { |
| 409 | if (Internal_FocusGameViewport == nullptr) |
| 410 | { |
| 411 | Internal_FocusGameViewport = GetClass()->GetMethod("Internal_FocusGameViewport"); |
| 412 | ASSERT(Internal_FocusGameViewport); |
| 413 | } |
| 414 | Internal_FocusGameViewport->Invoke(GetManagedInstance(), nullptr, nullptr); |
| 415 | } |
| 416 | } |
| 417 | |
| 418 | Float2 ManagedEditor::ScreenToGameViewport(const Float2& screenPos) const |
| 419 | { |
no test coverage detected