Metadata to override the navigation behavior or regular SWidget
更多...
#include <NavigationMetaData.h>
|
| EUINavigationRule | GetBoundaryRule (EUINavigation InNavigation) const |
| | Get the boundary rule for the provided navigation type 更多...
|
| |
| const FNavigationDelegate & | GetFocusDelegate (EUINavigation InNavigation) const |
| | Get the focus recipient delegate for the provided navigation type 更多...
|
| |
| const TWeakPtr< SWidget > & | GetFocusRecipient (EUINavigation InNavigation) const |
| | Get the focus recipient for the provided navigation type 更多...
|
| |
| void | SetNavigationCustom (EUINavigation InNavigation, EUINavigationRule InCustomBoundaryRule, FNavigationDelegate InFocusDelegate) |
| | Set the navigation behavior for the provided navigation type to be a custom delegate 更多...
|
| |
|
void | SetNavigationEscape (EUINavigation InNavigation) |
| | An event should return a FNavigationReply::Escape() to let the system know that a navigation can escape the bounds of this widget.
|
| |
| void | SetNavigationExplicit (EUINavigation InNavigation, TSharedPtr< SWidget > InFocusRecipient) |
| | Set the navigation behavior for the provided navigation type to be explicit, using a constant widget 更多...
|
| |
|
void | SetNavigationStop (EUINavigation InNavigation) |
| | An event should return a FNavigationReply::Explicit() to let the system know to stop at the bounds of this widget.
|
| |
| void | SetNavigationWrap (EUINavigation InNavigation) |
| | Set the navigation behavior for the provided navigation type to be wrap 更多...
|
| |
|
template<class TType > |
| bool | IsOfType () const |
| | Check if this metadata operation can cast safely to the specified template type
|
| |
|
virtual | ~ISlateMetaData () |
| | Virtual destructor.
|
| |
|
|
virtual bool | IsOfTypeImpl (const FName &Type) const |
| | Checks whether this drag and drop operation can cast safely to the specified type.
|
| |
Metadata to override the navigation behavior or regular SWidget
◆ GetBoundaryRule()
| EUINavigationRule FNavigationMetaData::GetBoundaryRule |
( |
EUINavigation |
InNavigation | ) |
const |
|
inline |
Get the boundary rule for the provided navigation type
- 参数
-
| InNavigation | the type of navigation to get the boundary rule for |
- 返回
- the boundary rule for the provided navigation type
◆ GetFocusDelegate()
| const FNavigationDelegate & FNavigationMetaData::GetFocusDelegate |
( |
EUINavigation |
InNavigation | ) |
const |
|
inline |
Get the focus recipient delegate for the provided navigation type
- 参数
-
| InNavigation | the type of navigation to get the focus recipient delegate for |
- 返回
- the focus recipient delegate for the provided navigation type
◆ GetFocusRecipient()
| const TWeakPtr< SWidget > & FNavigationMetaData::GetFocusRecipient |
( |
EUINavigation |
InNavigation | ) |
const |
|
inline |
Get the focus recipient for the provided navigation type
- 参数
-
| InNavigation | the type of navigation to get the focus recipient for |
- 返回
- the focus recipient for the provided navigation type
◆ SetNavigationCustom()
| void FNavigationMetaData::SetNavigationCustom |
( |
EUINavigation |
InNavigation, |
|
|
EUINavigationRule |
InCustomBoundaryRule, |
|
|
FNavigationDelegate |
InFocusDelegate |
|
) |
| |
|
inline |
Set the navigation behavior for the provided navigation type to be a custom delegate
- 参数
-
| InNavigation | the type of navigation to set custom |
| InCustomBoundaryRule | |
| InFocusRecipient | the delegate used when the system requests the destination for the custom navigation |
◆ SetNavigationExplicit()
| void FNavigationMetaData::SetNavigationExplicit |
( |
EUINavigation |
InNavigation, |
|
|
TSharedPtr< SWidget > |
InFocusRecipient |
|
) |
| |
|
inline |
Set the navigation behavior for the provided navigation type to be explicit, using a constant widget
- 参数
-
| InNavigation | the type of navigation to set explicit |
| InFocusRecipient | the widget used when the system requests the destination for the explicit navigation |
◆ SetNavigationWrap()
| void FNavigationMetaData::SetNavigationWrap |
( |
EUINavigation |
InNavigation | ) |
|
|
inline |
Set the navigation behavior for the provided navigation type to be wrap
- 参数
-
| InNavigation | the type of navigation to set wrapping |
该类的文档由以下文件生成: