struct

FEditorViewportPointer

Module
EditorFramework
Header
#include "EditorFramework/EditorViewportMode.h"
Namespace
Mowo

Properties

TypeNameDescription
int32_tButton0 left, 1 right, 2 middle. Default 0.
Vec2LocalPosViewport-local pixels, and the pane size in the same space. Default Vec2(0.0f, 0.0f).
Vec2ViewportSizeDefault Vec2(0.0f, 0.0f).
Vec2DeltaDefault Vec2(0.0f, 0.0f).
floatWheelDefault 0.0f.
boolCtrlDefault false.
boolShiftDefault false.
boolAltDefault false.
Vec3RayOriginDefault Vec3(0.0f, 0.0f, 0.0f).
Vec3RayDirectionDefault Vec3(0.0f, 0.0f, 1.0f).
std::function<EntityID()>ClosestEntityScene 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