class

FGameplayCursor

Module
Game
Header
#include "Game/FGameplayCursor.h"
Namespace
Mowo

Type aliases

AliasDescription
using FViewportProvider = std::function<bool(FGameplayViewport& outViewport)>

Public functions

Function details

SetViewportProvider

C++
static void SetViewportProvider(FViewportProvider provider)

ClearViewportProvider

C++
static void ClearViewportProvider()

GetViewport

C++
static bool GetViewport(FGameplayViewport& outViewport)

Deproject

C++
static bool Deproject(const FGameplayView& view, const Vec2& cursor, Vec3& outOrigin, Vec3& outDirection)

IntersectGround

C++
static bool IntersectGround(const Vec3& origin, const Vec3& direction, float groundY, Vec3& outPoint)

TraceCursorToGround

C++
static bool TraceCursorToGround(MWorld* world, float groundY, Vec3& outPoint)
Generated from Game/FGameplayCursor.h via game.json · Dec 5, 2026Version 1.1.0