LEAP Documentation 40220
Documentation for the LEAP project
FGameAnalogCursor Class Reference

#include <GameAnalogCursor.h>

Inheritance diagram for FGameAnalogCursor:

Public Member Functions

 FGameAnalogCursor (class APlayerController *PC, float _Radius)
 
virtual ~FGameAnalogCursor ()
 
virtual void Tick (const float DeltaTime, FSlateApplication &SlateApp, TSharedRef< ICursor > Cursor) override
 
FORCEINLINE FName GetHoveredWidgetName () const
 
FORCEINLINE bool IsHovered () const
 
FORCEINLINE FVector2D GetCurrentPosition () const
 
FORCEINLINE FVector2D GetVelocity () const
 
FORCEINLINE bool GetIsUsingAnalogCursor () const
 
FORCEINLINE FVector2D GetLastCursorDirection () const
 
FORCEINLINE float GetRadius () const
 

Static Public Member Functions

static PROJECTX_API void EnableAnalogCursor (class APlayerController *PC, TSharedPtr< SWidget > WidgetToFocus)
 
static PROJECTX_API void DisableAnalogCursor (class APlayerController *PC)
 
static PROJECTX_API void SetAnalogCursorSensitivity (const float Multiplier=1.0f)
 

Static Public Attributes

static TSharedPtr< FGameAnalogCursorAnalogCursor
 

Constructor & Destructor Documentation

◆ FGameAnalogCursor()

FGameAnalogCursor::FGameAnalogCursor ( class APlayerController *  PC,
float  _Radius 
)

Ctor

◆ ~FGameAnalogCursor()

virtual FGameAnalogCursor::~FGameAnalogCursor ( )
inlinevirtual

Dtor

Member Function Documentation

◆ DisableAnalogCursor()

void FGameAnalogCursor::DisableAnalogCursor ( class APlayerController *  PC)
static

◆ EnableAnalogCursor()

void FGameAnalogCursor::EnableAnalogCursor ( class APlayerController *  PC,
TSharedPtr< SWidget >  WidgetToFocus 
)
static

Helper functions

◆ GetCurrentPosition()

FORCEINLINE FVector2D FGameAnalogCursor::GetCurrentPosition ( ) const
inline

Getter

◆ GetHoveredWidgetName()

FORCEINLINE FName FGameAnalogCursor::GetHoveredWidgetName ( ) const
inline

Getter

◆ GetIsUsingAnalogCursor()

FORCEINLINE bool FGameAnalogCursor::GetIsUsingAnalogCursor ( ) const
inline

Getter

◆ GetLastCursorDirection()

FORCEINLINE FVector2D FGameAnalogCursor::GetLastCursorDirection ( ) const
inline

Getter

◆ GetRadius()

FORCEINLINE float FGameAnalogCursor::GetRadius ( ) const
inline

Getter

◆ GetVelocity()

FORCEINLINE FVector2D FGameAnalogCursor::GetVelocity ( ) const
inline

Getter

◆ IsHovered()

FORCEINLINE bool FGameAnalogCursor::IsHovered ( ) const
inline

Getter

◆ SetAnalogCursorSensitivity()

PROJECTX_API void FGameAnalogCursor::SetAnalogCursorSensitivity ( const float  Multiplier = 1.0f)
static

◆ Tick()

void FGameAnalogCursor::Tick ( const float  DeltaTime,
FSlateApplication &  SlateApp,
TSharedRef< ICursor >  Cursor 
)
overridevirtual

Uses different logic than base cursor

Member Data Documentation

◆ AnalogCursor

TSharedPtr< FGameAnalogCursor > FGameAnalogCursor::AnalogCursor
static

The documentation for this class was generated from the following files: