FVirtualPointerPosition

Represents the current and last cursor position in a "virtual window" for events that are routed to widgets transformed in a 3D scene.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/Events.h

Include

#include "Input/Events.h"

Syntax

struct FVirtualPointerPosition

Remarks

Represents the current and last cursor position in a "virtual window" for events that are routed to widgets transformed in a 3D scene.

Variables

Name Description

Public variable

FVector2D

 

CurrentCursorPosition

Public variable

FVector2D

 

LastCursorPosition

Constructors

Name Description

Public function

FVirtualPointerPosition()

Public function

FVirtualPointerPosition

(
    const FVector2D & InCurrentCursorPo...,
    const FVector2D & InLastCursorPosit...
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback