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

IInputBehavior returns an FInputCaptureUpdate from BeginCapture() and UpdateCapture(), which indicates to the InputRouter what the Behavior would like to have happen. 更多...

#include <InputBehavior.h>

Public 成员函数

 FInputCaptureUpdate (EInputCaptureState StateIn, UInputBehavior *SourceBehaviorIn, EInputCaptureSide WhichSideIn, void *CustomData=nullptr)
 

静态 Public 成员函数

static FInputCaptureUpdate Begin (UInputBehavior *SourceBehavior, EInputCaptureSide WhichSide, void *CustomData=nullptr)
 Create a begin-capturing instance of FInputCaptureUpdate 更多...
 
static FInputCaptureUpdate Continue ()
 Create a default continue-capturing instance of FInputCaptureUpdate
 
static FInputCaptureUpdate End ()
 Create a default end-capturing instance of FInputCaptureUpdate
 
static FInputCaptureUpdate Ignore ()
 Create a default ignore-capturing instance of FInputCaptureUpdate
 

Public 属性

FInputCaptureData Data
 custom data for the active capture that should be propagated to next UpdateCapture() call
 
UInputBehavior * Source
 Which Behavior did this update come from
 
EInputCaptureState State
 Indicates what capture state the Behavior wants to transition to
 

详细描述

IInputBehavior returns an FInputCaptureUpdate from BeginCapture() and UpdateCapture(), which indicates to the InputRouter what the Behavior would like to have happen.

构造及析构函数说明

◆ FInputCaptureUpdate()

FInputCaptureUpdate::FInputCaptureUpdate ( EInputCaptureState  StateIn,
UInputBehavior *  SourceBehaviorIn,
EInputCaptureSide  WhichSideIn,
void *  CustomData = nullptr 
)
inline
参数
StateIndesired capture state
SourceUInputBehavior that is returning this update
WhichWhich side we are capturing on
CustomDataclient-provided data that will be passed to UInputBehavior::UpdateCapture() calls. Client owns this memory!

成员函数说明

◆ Begin()

static FInputCaptureUpdate FInputCaptureUpdate::Begin ( UInputBehavior *  SourceBehavior,
EInputCaptureSide  WhichSide,
void *  CustomData = nullptr 
)
inlinestatic

Create a begin-capturing instance of FInputCaptureUpdate

参数
SourceUInputBehavior that is returning this update
WhichWhich side we are capturing on
CustomDataclient-provided data that will be passed to UInputBehavior::UpdateCapture() calls. Client owns this memory!

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