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

Mac-specific application implementation. 更多...

#include <MacApplication.h>

+ 类 FMacApplication 继承关系图:

Public 成员函数

virtual ITextInputMethodSystem * GetTextInputMethodSystem () override
 Function to return the current implementation of the Text Input Method System
 
virtual EWindowTitleAlignment::Type GetWindowTitleAlignment () const override
 Gets the horizontal alignment of the window title bar's title text.
 
virtual TSharedPtr< FGenericWindow > GetWindowUnderCursor () override
 
void InvalidateTextLayout (FCocoaWindow *Window)
 Queues a window for text layout invalidation when safe
 
virtual bool IsCursorDirectlyOverSlateWindow () const override
 
virtual void SetForceFeedbackChannelValue (int32 ControllerId, FForceFeedbackChannelType ChannelType, float Value) override
 Sets the strength/speed of the given channel 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) override
 Sets the frequency and amplitude of haptic feedback channels for a given controller id. 更多...
 
- Public 成员函数 继承自 GenericApplication
 DECLARE_EVENT_OneParam (FSlateApplication, FVirtualKeyboardShownEvent, FPlatformRect)
 Delegate for virtual keyboard being shown/hidden in case UI wants to slide out of the way
 
virtual ITextInputMethodSystem * GetTextInputMethodSystem ()
 Function to return the current implementation of the Text Input Method System
 
virtual EWindowTitleAlignment::Type GetWindowTitleAlignment () const
 Gets the horizontal alignment of the window title bar's title text.
 
virtual TSharedPtr< FGenericWindow > GetWindowUnderCursor ()
 
virtual bool IsCursorDirectlyOverSlateWindow () const
 
FOnDisplayMetricsChanged & OnDisplayMetricsChanged ()
 Notifies subscribers when any of the display metrics change: e.g. 更多...
 
virtual void SendAnalytics (IAnalyticsProvider *Provider)
 Send any analytics captured by the application
 
- 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.
 

友元

class FMacWindow
 

额外继承的成员函数

- Protected 成员函数 继承自 GenericApplication
void BroadcastDisplayMetricsChanged (const FDisplayMetrics &InMetrics)
 Trigger the OnDisplayMetricsChanged event with the argument 'InMetrics'
 
- Protected 属性 继承自 GenericApplication
FVirtualKeyboardHiddenEvent VirtualKeyboardHiddenEvent
 Delegate for virtual keyboard being shown
 
FVirtualKeyboardShownEvent VirtualKeyboardShownEvent
 Delegate for virtual keyboard being shown
 

详细描述

Mac-specific application implementation.

成员函数说明

◆ GetWindowUnderCursor()

virtual TSharedPtr< FGenericWindow > FMacApplication::GetWindowUnderCursor ( )
overridevirtual
返回
Native window under the mouse cursor.

重载 GenericApplication .

◆ IsCursorDirectlyOverSlateWindow()

virtual bool FMacApplication::IsCursorDirectlyOverSlateWindow ( ) const
overridevirtual
返回
true if the system cursor is currently directly over a slate window.

重载 GenericApplication .

◆ SetForceFeedbackChannelValue()

virtual void FMacApplication::SetForceFeedbackChannelValue ( int32  ControllerId,
FForceFeedbackChannelType  ChannelType,
float  Value 
)
overridevirtual

Sets the strength/speed of the given channel for the given controller id.

NOTE: If the channel is not supported, the call will silently fail

参数
ControllerIdthe id of the controller whose value is to be set
ChannelTypethe type of channel whose value should be set
Valuestrength or speed of feedback, 0.0f to 1.0f. 0.0f will disable

实现了 IInputInterface.

◆ SetForceFeedbackChannelValues()

virtual void FMacApplication::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()

virtual void FMacApplication::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 .


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