engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FMotionEvent结构体 参考

FMotionEvent describes a touch pad action (press, move, lift) It is passed to event handlers dealing with touch input. 更多...

#include <Events.h>

+ 类 FMotionEvent 继承关系图:

Public 成员函数

 FMotionEvent ()
 UStruct Constructor. 更多...
 
const FVector & GetAcceleration () const
 Returns the 3D acceleration of the device
 
const FVector & GetGravity () const
 Returns the gravity vector (pointing down into the ground)
 
const FVector & GetRotationRate () const
 Returns otation speed
 
const FVector & GetTilt () const
 Returns the current tilt of the device/controller
 
uint32 GetUserIndex () const
 Returns the index of the user that caused the event
 
- Public 成员函数 继承自 FInputEvent
bool AreCapsLocked () const
 Returns true if caps lock was on when this event occurred
 
SLATECORE_API FGeometry FindGeometry (const TSharedRef< SWidget > &WidgetToFind) const
 The event path provides additional context for handling
 
 FInputEvent ()
 UStruct Constructor. 更多...
 
 FInputEvent (const FModifierKeysState &InModifierKeys, const int32 InUserIndex, const bool bInIsRepeat)
 Constructor. 更多...
 
const FModifierKeysState & GetModifierKeys () const
 Returns the complete set of modifier keys
 
uint32 GetUserIndex () const
 Returns the index of the user that generated this event.
 
bool IsAltDown () const
 Returns true if either alt key was down when this event occurred
 
bool IsCommandDown () const
 Returns true if either command key was down when this event occurred
 
bool IsControlDown () const
 Returns true if either control key was down when this event occurred
 
virtual SLATECORE_API bool IsKeyEvent () const
 Is this event a key event.
 
bool IsLeftAltDown () const
 Returns true if left alt key was down when this event occurred
 
bool IsLeftCommandDown () const
 Returns true if left command key was down when this event occurred
 
bool IsLeftControlDown () const
 Returns true if left control key was down when this event occurred
 
bool IsLeftShiftDown () const
 Returns true if left shift key was down when this event occurred
 
virtual SLATECORE_API bool IsPointerEvent () const
 Is this event a pointer event (touch or cursor).
 
bool IsRepeat () const
 Returns whether or not this character is an auto-repeated keystroke 更多...
 
bool IsRightAltDown () const
 Returns true if right alt key was down when this event occurred
 
bool IsRightCommandDown () const
 Returns true if right command key was down when this event occurred
 
bool IsRightControlDown () const
 Returns true if right control key was down when this event occurred
 
bool IsRightShiftDown () const
 Returns true if right shift key was down when this event occurred
 
bool IsShiftDown () const
 Returns true if either shift key was down when this event occurred 更多...
 
void SetEventPath (const FWidgetPath &InEventPath)
 Set the widget path along which this event will be routed
 
virtual ~FInputEvent ()
 Virtual destructor.
 

详细描述

FMotionEvent describes a touch pad action (press, move, lift) It is passed to event handlers dealing with touch input.

构造及析构函数说明

◆ FMotionEvent()

FMotionEvent::FMotionEvent ( )
inline

UStruct Constructor.

Not meant for normal usage.


该结构体的文档由以下文件生成: