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

Interface class for Android input devices
更多...

#include <LuminInputInterface.h>

+ 类 FAndroidInputInterface 继承关系图:

Public 成员函数

void SendControllerEvents ()
 Poll for controller state and send events if needed
 
void SendControllerEvents ()
 Poll for controller state and send events if needed
 
virtual void SetForceFeedbackChannelValue (int32 ControllerId, FForceFeedbackChannelType ChannelType, float Value) override
 IForceFeedbackSystem implementation
 
virtual void SetForceFeedbackChannelValue (int32 ControllerId, FForceFeedbackChannelType ChannelType, float Value) override
 IInputInterface interface
 
virtual void SetForceFeedbackChannelValues (int32 ControllerId, const FForceFeedbackValues &values) override
 Sets the strength/speed of all the channels for the given controller id. 更多...
 
virtual void SetForceFeedbackChannelValues (int32 ControllerId, const FForceFeedbackValues &Values) override
 Sets the strength/speed of all the channels for the given controller id. 更多...
 
virtual void SetHapticFeedbackValues (int32 ControllerId, int32 Hand, const FHapticFeedbackValues &Values)
 Sets the frequency and amplitude of haptic feedback channels for a given controller id. 更多...
 
virtual void SetHapticFeedbackValues (int32 ControllerId, int32 Hand, const FHapticFeedbackValues &Values) override
 Sets the frequency and amplitude of haptic feedback channels for a given controller id. 更多...
 
void Tick (float DeltaTime)
 Tick the interface (i.e check for new controllers)
 
void Tick (float DeltaTime)
 Tick the interface (i.e check for new controllers)
 
- Public 成员函数 继承自 IInputInterface
virtual void SetDeviceProperty (int32 ControllerId, const FInputDeviceProperty *Property)
 Sets a property for a given controller id. 更多...
 
virtual void SetForceFeedbackChannelValue (int32 ControllerId, FForceFeedbackChannelType ChannelType, float Value)=0
 Sets the strength/speed of the given channel for the given controller id. 更多...
 
virtual void SetForceFeedbackChannelValues (int32 ControllerId, const FForceFeedbackValues &Values)=0
 Sets the strength/speed of all the channels for the given controller id. 更多...
 
virtual void SetHapticFeedbackValues (int32 ControllerId, int32 Hand, const FHapticFeedbackValues &Values)
 Sets the frequency and amplitude of haptic feedback channels for a given controller id. 更多...
 
virtual ~IInputInterface ()
 Virtual destructor.
 

详细描述

Interface class for Android input devices

Interface class for Lumin input devices.

成员函数说明

◆ SetForceFeedbackChannelValues() [1/2]

virtual void FAndroidInputInterface::SetForceFeedbackChannelValues ( int32  ControllerId,
const FForceFeedbackValues &  Values 
)
overridevirtual

Sets the strength/speed of all the channels for the given controller id.

NOTE: Unsupported channels are silently ignored

参数
ControllerIdthe id of the controller whose value is to be set
FForceFeedbackChannelValuesstrength or speed of feedback for all channels

实现了 IInputInterface.

◆ SetForceFeedbackChannelValues() [2/2]

virtual void FAndroidInputInterface::SetForceFeedbackChannelValues ( int32  ControllerId,
const FForceFeedbackValues &  Values 
)
overridevirtual

Sets the strength/speed of all the channels for the given controller id.

NOTE: Unsupported channels are silently ignored

参数
ControllerIdthe id of the controller whose value is to be set
FForceFeedbackChannelValuesstrength or speed of feedback for all channels

实现了 IInputInterface.

◆ SetHapticFeedbackValues() [1/2]

virtual void FAndroidInputInterface::SetHapticFeedbackValues ( int32  ControllerId,
int32  Hand,
const FHapticFeedbackValues &  Values 
)
virtual

Sets the frequency and amplitude of haptic feedback channels for a given controller id.

Some devices / platforms may support just haptics, or just force feedback.

参数
ControllerIdID of the controller to issue haptic feedback for
HandIdWhich hand id (e.g. left or right) to issue the feedback for. These usually correspond to EControllerHands
ValuesFrequency and amplitude to haptics at

重载 IInputInterface .

◆ SetHapticFeedbackValues() [2/2]

virtual void FAndroidInputInterface::SetHapticFeedbackValues ( int32  ControllerId,
int32  Hand,
const FHapticFeedbackValues &  Values 
)
overridevirtual

Sets the frequency and amplitude of haptic feedback channels for a given controller id.

Some devices / platforms may support just haptics, or just force feedback.

参数
ControllerIdID of the controller to issue haptic feedback for
HandIdWhich hand id (e.g. left or right) to issue the feedback for. These usually correspond to EControllerHands
ValuesFrequency and amplitude to haptics at

重载 IInputInterface .


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