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

A FNavigationReply is something that a Slate navigation event returns to the system to notify it about the boundary rules for navigation. 更多...

#include <NavigationReply.h>

Public 成员函数

EUINavigationRule GetBoundaryRule () const
 Get the navigation boundary rule.
 
const FNavigationDelegate & GetFocusDelegate () const
 If the event replied with a delegate explicit boundary rule this returns the delegate to get the focus recipient. 更多...
 
const TSharedPtr< SWidget > & GetFocusRecipient () const
 If the event replied with a constant explicit boundary rule this returns the desired focus recipient. 更多...
 
const TSharedPtr< SWidget > GetHandler () const
 The widget that ultimately specified the boundary rule for the navigation
 

静态 Public 成员函数

static FNavigationReply Custom (const FNavigationDelegate &InFocusDelegate)
 An event should return a FNavigationReply::Custom() to let the system know to call a custom delegate to get the widget to navigate to.
 
static FNavigationReply CustomBoundary (const FNavigationDelegate &InFocusDelegate)
 An event should return a FNavigationReply::CustomBoundary() to let the system know to call a custom delegate to get the widget to navigate to is the widgets boundary is hit.
 
static FNavigationReply Escape ()
 An event should return a FNavigationReply::Escape() to let the system know that a navigation can escape the bounds of this widget.
 
static FNavigationReply Explicit (TSharedPtr< SWidget > InFocusRecipient)
 An event should return a FNavigationReply::Explicit() to let the system know to navigate to an explicit widget at the bounds of this widget.
 
static FNavigationReply Stop ()
 An event should return a FNavigationReply::Stop() to let the system know to stop at the bounds of this widget.
 
static FNavigationReply Wrap ()
 An event should return a FNavigationReply::Wrap() to let the system know to wrap at the bounds of this widget.
 

友元

class SWidget
 

详细描述

A FNavigationReply is something that a Slate navigation event returns to the system to notify it about the boundary rules for navigation.

For example, a widget may handle an OnNavigate event by asking the system to wrap if it's boundary is hit. To do this, return FNavigationReply::Wrap().

成员函数说明

◆ GetFocusDelegate()

const FNavigationDelegate & FNavigationReply::GetFocusDelegate ( ) const
inline

If the event replied with a delegate explicit boundary rule this returns the delegate to get the focus recipient.

Delegate will be unbound if a constant widget was provided.

◆ GetFocusRecipient()

const TSharedPtr< SWidget > & FNavigationReply::GetFocusRecipient ( ) const
inline

If the event replied with a constant explicit boundary rule this returns the desired focus recipient.

Otherwise returns an invalid pointer.


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