engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IInputDevice类 参考abstract

Input device interface. 更多...

#include <IInputDevice.h>

Public 成员函数

virtual bool Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar)=0
 Exec handler to allow console commands to be passed through for debugging
 
virtual class IHapticDevice * GetHapticDevice ()
 If this device supports a haptic interface, implement this, and inherit the IHapticDevice interface
 
virtual void SendControllerEvents ()=0
 Poll for controller state and send events if needed
 
virtual void SetChannelValue (int32 ControllerId, FForceFeedbackChannelType ChannelType, float Value)=0
 IForceFeedbackSystem pass through functions
 
virtual void SetDeviceProperty (int32 ControllerId, const FInputDeviceProperty *Property)
 Sets a property for a given controller id. 更多...
 
virtual void SetLightColor (int32 ControllerId, FColor Color)
 Pass though functions for light color
 
virtual void SetMessageHandler (const TSharedRef< FGenericApplicationMessageHandler > &InMessageHandler)=0
 Set which MessageHandler will get the events from SendControllerEvents.
 
virtual void Tick (float DeltaTime)=0
 Tick the interface (e.g. 更多...
 

详细描述

Input device interface.

Useful for plugins/modules to support custom external input devices.

成员函数说明

◆ SetDeviceProperty()

virtual void IInputDevice::SetDeviceProperty ( int32  ControllerId,
const FInputDeviceProperty *  Property 
)
inlinevirtual

Sets a property for a given controller id.

Will be ignored for devices which don't support the property.

参数
ControllerIdthe id of the controller whose property is to be applied
PropertyBase class pointer to property that will be applied

◆ Tick()

virtual void IInputDevice::Tick ( float  DeltaTime)
pure virtual

Tick the interface (e.g.

check for new controllers)


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