engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
FAnalogCursor类 参考

A class that simulates a cursor driven by an analog stick. 更多...

#include <AnalogCursor.h>

+ 类 FAnalogCursor 继承关系图:

Public 成员函数

virtual const TCHAR * GetDebugName () const override
 Debug name for logging purposes
 
virtual bool HandleAnalogInputEvent (FSlateApplication &SlateApp, const FAnalogInputEvent &InAnalogInputEvent) override
 Analog axis input
 
virtual bool HandleKeyDownEvent (FSlateApplication &SlateApp, const FKeyEvent &InKeyEvent) override
 Key down input
 
virtual bool HandleKeyUpEvent (FSlateApplication &SlateApp, const FKeyEvent &InKeyEvent) override
 Key up input
 
virtual bool HandleMouseMoveEvent (FSlateApplication &SlateApp, const FPointerEvent &MouseEvent) override
 Mouse movement input
 
virtual ~FAnalogCursor ()
 Dtor
 
- Public 成员函数 继承自 IInputProcessor
virtual const TCHAR * GetDebugName () const
 Debug name for logging purposes
 
virtual bool HandleAnalogInputEvent (FSlateApplication &SlateApp, const FAnalogInputEvent &InAnalogInputEvent)
 Analog axis input
 
virtual bool HandleKeyDownEvent (FSlateApplication &SlateApp, const FKeyEvent &InKeyEvent)
 Key down input
 
virtual bool HandleKeyUpEvent (FSlateApplication &SlateApp, const FKeyEvent &InKeyEvent)
 Key up input
 
virtual bool HandleMotionDetectedEvent (FSlateApplication &SlateApp, const FMotionEvent &MotionEvent)
 Called when a motion-driven device has new input
 
virtual bool HandleMouseButtonDoubleClickEvent (FSlateApplication &SlateApp, const FPointerEvent &MouseEvent)
 Mouse button double clicked.
 
virtual bool HandleMouseButtonDownEvent (FSlateApplication &SlateApp, const FPointerEvent &MouseEvent)
 Mouse button press
 
virtual bool HandleMouseButtonUpEvent (FSlateApplication &SlateApp, const FPointerEvent &MouseEvent)
 Mouse button release
 
virtual bool HandleMouseMoveEvent (FSlateApplication &SlateApp, const FPointerEvent &MouseEvent)
 Mouse movement input
 
virtual bool HandleMouseWheelOrGestureEvent (FSlateApplication &SlateApp, const FPointerEvent &InWheelEvent, const FPointerEvent *InGestureEvent)
 Mouse wheel input
 
- Public 成员函数 继承自 TSharedFromThis< FAnalogCursor >
TSharedRef< FAnalogCursor, Mode > AsShared ()
 Provides access to a shared reference to this object. 更多...
 
TSharedRef< FAnalogCursor const, Mode > AsShared () const
 Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多...
 
FORCEINLINE bool DoesSharedInstanceExist () const
 Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 

Protected 成员函数

void ClearAnalogValues ()
 Set the cached analog stick declinations to 0
 
FORCEINLINE const FVector2D & GetAnalogValues (EAnalogStick Stick=EAnalogStick::Left) const
 Getter
 
virtual void UpdateCursorPosition (FSlateApplication &SlateApp, TSharedRef< ICursor > Cursor, const FVector2D &NewPosition, bool bForce=false)
 Handles updating the cursor position and processing a Mouse Move Event
 
- Protected 成员函数 继承自 TSharedFromThis< FAnalogCursor >
FORCEINLINE TSharedFromThis & operator= (TSharedFromThis const &)
 Hidden stub assignment operator
 
 TSharedFromThis ()
 Hidden stub constructor
 
 TSharedFromThis (TSharedFromThis const &)
 Hidden stub copy constructor
 
 ~TSharedFromThis ()
 Hidden destructor
 

Protected 属性

float Acceleration
 Current settings
 
FVector2D CurrentOffset
 Current sub-pixel offset
 
FVector2D CurrentSpeed
 Current speed of the cursor
 

额外继承的成员函数

- 静态 Protected 成员函数 继承自 TSharedFromThis< FAnalogCursor >
static FORCEINLINE TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 
static FORCEINLINE TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 

详细描述

A class that simulates a cursor driven by an analog stick.


该类的文档由以下文件生成: