struct
FEditorViewportPointer
- Module
- EditorFramework
- Header
#include "EditorFramework/EditorViewportMode.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
int32_t | Button | 0 left, 1 right, 2 middle. Default 0. |
Vec2 | LocalPos | Viewport-local pixels, and the pane size in the same space. Default Vec2(0.0f, 0.0f). |
Vec2 | ViewportSize | Default Vec2(0.0f, 0.0f). |
Vec2 | Delta | Default Vec2(0.0f, 0.0f). |
float | Wheel | Default 0.0f. |
bool | Ctrl | Default false. |
bool | Shift | Default false. |
bool | Alt | Default false. |
Vec3 | RayOrigin | Default Vec3(0.0f, 0.0f, 0.0f). |
Vec3 | RayDirection | Default Vec3(0.0f, 0.0f, 1.0f). |
std::function<EntityID()> | ClosestEntity | Scene hits along the ray, resolved on first ask — most modes only need the ray, and a sweep per pixel of cursor motion is not free. |
std::function<bool(Vec3& outWorld)> | ClosestHitPoint |
Generated from EditorFramework/EditorViewportMode.h via editorframework.json · Nov 2, 2026Version 1.0.0