|
| void | Construct (const FArguments &InArgs) |
| | Construct this widget 更多...
|
| |
| ECheckBoxState | GetCheckedState () const |
| |
| bool | IsChecked () const |
| | Returns true if the checkbox is currently checked 更多...
|
| |
| virtual bool | IsInteractable () const override |
| |
| bool | IsPressed () const |
| | Returns true if this button is currently pressed 更多...
|
| |
| virtual FReply | OnKeyDown (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) override |
| | Called after a key is pressed when this widget has focus (this event bubbles if not handled) 更多...
|
| |
| virtual FReply | OnKeyUp (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) override |
| | Called after a key is released when this widget has focus 更多...
|
| |
| virtual FReply | OnMouseButtonDoubleClick (const FGeometry &InMyGeometry, const FPointerEvent &InMouseEvent) override |
| | Called when a mouse button is double clicked. 更多...
|
| |
| virtual FReply | OnMouseButtonDown (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| | The system calls this method to notify the widget that a mouse button was pressed within it. 更多...
|
| |
| virtual FReply | OnMouseButtonUp (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| | The system calls this method to notify the widget that a mouse button was release within it. 更多...
|
| |
| virtual void | OnMouseEnter (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
| | The system will use this event to notify a widget that the cursor has entered it. 更多...
|
| |
| virtual void | OnMouseLeave (const FPointerEvent &MouseEvent) override |
| | The system will use this event to notify a widget that the cursor has left it. 更多...
|
| |
| | SCheckBox () |
| | Content to be placed next to the check box, or for a toggle button, the content to be placed inside the button 更多...
|
| |
|
void | SetCheckedHoveredImage (const FSlateBrush *Brush) |
| | See the CheckedHoveredImage attribute
|
| |
|
void | SetCheckedImage (const FSlateBrush *Brush) |
| | See the CheckedImage attribute
|
| |
|
void | SetCheckedPressedImage (const FSlateBrush *Brush) |
| | See the CheckedPressedImage attribute
|
| |
|
void | SetContent (const TSharedRef< SWidget > &InContent) |
| | See the Content slot
|
| |
|
void | SetIsChecked (TAttribute< ECheckBoxState > InIsChecked) |
| | See the IsChecked attribute
|
| |
|
void | SetStyle (const FCheckBoxStyle *InStyle) |
| | See the Style attribute
|
| |
|
void | SetUncheckedHoveredImage (const FSlateBrush *Brush) |
| | See the UncheckedHoveredImage attribute
|
| |
|
void | SetUncheckedImage (const FSlateBrush *Brush) |
| | See the UncheckedImage attribute
|
| |
|
void | SetUncheckedPressedImage (const FSlateBrush *Brush) |
| | See the UncheckedPressedImage attribute
|
| |
|
void | SetUndeterminedHoveredImage (const FSlateBrush *Brush) |
| | See the UndeterminedHoveredImage attribute
|
| |
|
void | SetUndeterminedImage (const FSlateBrush *Brush) |
| | See the UndeterminedImage attribute
|
| |
|
void | SetUndeterminedPressedImage (const FSlateBrush *Brush) |
| | See the UndeterminedPressedImage attribute
|
| |
| virtual bool | SupportsKeyboardFocus () const override |
| | Checks to see if this widget supports keyboard focus. 更多...
|
| |
|
void | ToggleCheckedState () |
| | Toggles the checked state for this check box, fire events as needed
|
| |
| virtual FChildren * | GetChildren () override |
| | Every widget that has children must implement this method. 更多...
|
| |
|
FLinearColor | GetColorAndOpacity () const |
| | Gets the widget's color.
|
| |
| const FVector2D | GetContentScale () const |
| | Returns the size scaling factor for this widget. 更多...
|
| |
| virtual FSlateColor | GetForegroundColor () const override |
| |
| virtual void | OnArrangeChildren (const FGeometry &AllottedGeometry, FArrangedChildren &ArrangedChildren) const override |
| | Compute the Geometry of all the children and add populate the ArrangedChildren list with their values. 更多...
|
| |
| virtual int32 | OnPaint (const FPaintArgs &Args, const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, FSlateWindowElementList &OutDrawElements, int32 LayerId, const FWidgetStyle &InWidgetStyle, bool bParentEnabled) const override |
| | The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. 更多...
|
| |
| void | SetColorAndOpacity (const TAttribute< FLinearColor > &InColorAndOpacity) |
| | Sets the widget's color. 更多...
|
| |
| void | SetContentScale (const TAttribute< FVector2D > &InContentScale) |
| | Sets the content scale for this widget. 更多...
|
| |
| void | SetForegroundColor (const TAttribute< FSlateColor > &InForegroundColor) |
| | Sets the widget's foreground color. 更多...
|
| |
| virtual void | SetVisibility (TAttribute< EVisibility > InVisibility) override final |
| |
| template<typename MetaDataType > |
| void | AddMetadata (const TSharedRef< MetaDataType > &AddMe) |
| | Add metadata to this widget. 更多...
|
| |
|
virtual bool | Advanced_IsWindow () const |
| | Is this widget derivative of SWindow
|
| |
| void | ArrangeChildren (const FGeometry &AllottedGeometry, FArrangedChildren &ArrangedChildren) const |
| | Non-virtual entry point for arrange children. 更多...
|
| |
| FORCEINLINE void | CacheVolatility () |
| | Recalculates volatility of the widget and caches the result. 更多...
|
| |
| FSlateRect | CalculateCullingAndClippingRules (const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, bool &bClipToBounds, bool &bAlwaysClip, bool &bIntersectClipBounds) const |
| | Calculates what if any clipping state changes need to happen when drawing this widget. 更多...
|
| |
|
void | Construct (const TAttribute< FText > &InToolTipText, const TSharedPtr< IToolTip > &InToolTip, const TAttribute< TOptional< EMouseCursor::Type > > &InCursor, const TAttribute< bool > &InEnabledState, const TAttribute< EVisibility > &InVisibility, const float InRenderOpacity, const TAttribute< TOptional< FSlateRenderTransform > > &InTransform, const TAttribute< FVector2D > &InTransformPivot, const FName &InTag, const bool InForceVolatile, const EWidgetClipping InClipping, const EFlowDirectionPreference InFlowPreference, const TOptional< FAccessibleWidgetData > &InAccessibleData, const TArray< TSharedRef< ISlateMetaData > > &InMetaData) |
| | Construct a SWidget based on initial parameters.
|
| |
| void | EnableToolTipForceField (const bool bEnableForceField) |
| | Sets whether this widget is a "tool tip force field". 更多...
|
| |
| FORCEINLINE void | ForceVolatile (bool bForce) |
| | Should this widget always appear as volatile for any layout caching host widget. 更多...
|
| |
| template<typename MetaDataType > |
| TArray< TSharedRef< MetaDataType > > | GetAllMetaData () const |
| | Get all metadata of the type provided. 更多...
|
| |
| virtual FChildren * | GetChildren ()=0 |
| | Every widget that has children must implement this method. 更多...
|
| |
| FORCEINLINE EWidgetClipping | GetClipping () const |
| |
| FName | GetCreatedInLocation () const |
| |
| FORCEINLINE FMargin | GetCullingBoundsExtension () const |
| |
|
const TOptional< FSlateClippingState > & | GetCurrentClippingState () const |
| | Returns the clipping state to clip this widget against its parent
|
| |
| FVector2D | GetDesiredSize () const |
| |
|
EFlowDirectionPreference | GetFlowDirectionPreference () const |
| | Gets the desired flow direction for the layout.
|
| |
| virtual FSlateColor | GetForegroundColor () const |
| |
| template<typename MetaDataType > |
| TSharedPtr< MetaDataType > | GetMetaData () const |
| | Get the metadata of the type provided. 更多...
|
| |
| const FGeometry & | GetPaintSpaceGeometry () const |
| | Gets the last geometry used to Tick the widget. 更多...
|
| |
| virtual FString | GetReadableLocation () const |
| |
|
virtual float | GetRelativeLayoutScale (const int32 ChildIndex, float LayoutScaleMultiplier) const |
| | What is the Child's scale relative to this widget.
|
| |
| FORCEINLINE float | GetRenderOpacity () const |
| |
| FORCEINLINE const TOptional< FSlateRenderTransform > & | GetRenderTransform () const |
| |
| FORCEINLINE FVector2D | GetRenderTransformPivot () const |
| |
| virtual FName | GetTag () const |
| |
| const FGeometry & | GetTickSpaceGeometry () const |
| | Gets the last geometry used to Tick the widget. 更多...
|
| |
| virtual TSharedPtr< IToolTip > | GetToolTip () |
| |
| FName | GetType () const |
| |
| FString | GetTypeAsString () const |
| |
| FORCEINLINE EVisibility | GetVisibility () const |
| |
| virtual EWindowZone::Type | GetWindowZoneOverride () const |
| | Called when the mouse is moved over the widget's window, to determine if we should report whether OS-specific features should be active at this location (such as a title bar grip, system menu, etc.) Usually you should not need to override this function. 更多...
|
| |
|
bool | HasActiveTimers () const |
| | Does this widget have any active timers?
|
| |
| TOptional< EFocusCause > | HasAnyUserFocus () const |
| | Gets whether or not any users have this widget focused, and if so the type of focus (first one found). 更多...
|
| |
| bool | HasAnyUserFocusOrFocusedDescendants () const |
| |
| bool | HasFocusedDescendants () const |
| |
| virtual bool | HasKeyboardFocus () const |
| | Checks to see if this widget currently has the keyboard focus 更多...
|
| |
| bool | HasMouseCapture () const |
| | Checks to see if this widget is the current mouse captor 更多...
|
| |
| bool | HasMouseCaptureByUser (int32 UserIndex, TOptional< int32 > PointerIndex=TOptional< int32 >()) const |
| | Checks to see if this widget has mouse capture from the provided user. 更多...
|
| |
| bool | HasToolTipForceField () const |
| |
| TOptional< EFocusCause > | HasUserFocus (int32 UserIndex) const |
| | Gets whether or not the specified users has this widget focused, and if so the type of focus. 更多...
|
| |
| bool | HasUserFocusedDescendants (int32 UserIndex) const |
| | Gets whether or not the specified users has this widget or any descendant focused. 更多...
|
| |
| void | Invalidate (EInvalidateWidgetReason InvalidateReason) |
| | Invalidates the widget from the view of a layout caching widget that may own this widget. 更多...
|
| |
| virtual bool | IsDirectlyHovered () const |
| |
| FORCEINLINE bool | IsEnabled () const |
| |
| virtual bool | IsHovered () const |
| |
| virtual bool | IsInteractable () const |
| |
|
FORCEINLINE bool | IsVolatile () const |
| | Whether or not a widget is volatile and will update every frame without being invalidated
|
| |
|
FORCEINLINE bool | IsVolatileIndirectly () const |
| | This widget is volatile because its parent or some ancestor is volatile
|
| |
| virtual FReply | OnAnalogValueChanged (const FGeometry &MyGeometry, const FAnalogInputEvent &InAnalogInputEvent) |
| | Called when an analog value changes on a button that supports analog 更多...
|
| |
| virtual FCursorReply | OnCursorQuery (const FGeometry &MyGeometry, const FPointerEvent &CursorEvent) const |
| | The system asks each widget under the mouse to provide a cursor. 更多...
|
| |
| virtual FReply | OnDragDetected (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| | Called when Slate detects that a widget started to be dragged. 更多...
|
| |
| virtual void | OnDragEnter (const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) |
| | Called during drag and drop when the drag enters a widget. 更多...
|
| |
| virtual void | OnDragLeave (const FDragDropEvent &DragDropEvent) |
| | Called during drag and drop when the drag leaves a widget. 更多...
|
| |
| virtual FReply | OnDragOver (const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) |
| | Called during drag and drop when the the mouse is being dragged over a widget. 更多...
|
| |
| virtual FReply | OnDrop (const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) |
| | Called when the user is dropping something onto a widget; terminates drag and drop. 更多...
|
| |
| virtual void | OnFinishedKeyInput () |
| | All the key (keyboard, gamepay, joystick, etc.) input from this frame has been routed. 更多...
|
| |
| virtual void | OnFinishedPointerInput () |
| | All the pointer (mouse, touch, stylus, etc.) events from this frame have been routed. 更多...
|
| |
|
virtual void | OnFocusChanging (const FWeakWidgetPath &PreviousFocusPath, const FWidgetPath &NewWidgetPath) |
| | Called whenever a focus path is changing on all the widgets within the old and new focus paths
|
| |
|
virtual void | OnFocusChanging (const FWeakWidgetPath &PreviousFocusPath, const FWidgetPath &NewWidgetPath, const FFocusEvent &InFocusEvent) |
| | Called whenever a focus path is changing on all the widgets within the old and new focus paths
|
| |
| virtual void | OnFocusLost (const FFocusEvent &InFocusEvent) |
| | Called when this widget loses focus. 更多...
|
| |
| virtual FReply | OnFocusReceived (const FGeometry &MyGeometry, const FFocusEvent &InFocusEvent) |
| | Called when focus is given to this widget. 更多...
|
| |
| virtual FReply | OnKeyChar (const FGeometry &MyGeometry, const FCharacterEvent &InCharacterEvent) |
| | Called after a character is entered while this widget has keyboard focus 更多...
|
| |
| virtual FReply | OnKeyDown (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) |
| | Called after a key is pressed when this widget has focus (this event bubbles if not handled) 更多...
|
| |
| virtual FReply | OnKeyUp (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) |
| | Called after a key is released when this widget has focus 更多...
|
| |
| virtual TOptional< TSharedRef< SWidget > > | OnMapCursor (const FCursorReply &CursorReply) const |
| | After OnCursorQuery has specified a cursor type the system asks each widget under the mouse to map that cursor to a widget. 更多...
|
| |
| virtual FReply | OnMotionDetected (const FGeometry &MyGeometry, const FMotionEvent &InMotionEvent) |
| | Called when motion is detected (controller or device) e.g. 更多...
|
| |
| virtual FReply | OnMouseButtonDoubleClick (const FGeometry &InMyGeometry, const FPointerEvent &InMouseEvent) |
| | Called when a mouse button is double clicked. 更多...
|
| |
| virtual FReply | OnMouseButtonDown (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| | The system calls this method to notify the widget that a mouse button was pressed within it. 更多...
|
| |
| virtual FReply | OnMouseButtonUp (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| | The system calls this method to notify the widget that a mouse button was release within it. 更多...
|
| |
|
virtual void | OnMouseCaptureLost (const FCaptureLostEvent &CaptureLostEvent) |
| | Called when this widget had captured the mouse, but that capture has been revoked for some reason.
|
| |
| virtual void | OnMouseEnter (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| | The system will use this event to notify a widget that the cursor has entered it. 更多...
|
| |
| virtual void | OnMouseLeave (const FPointerEvent &MouseEvent) |
| | The system will use this event to notify a widget that the cursor has left it. 更多...
|
| |
| virtual FReply | OnMouseMove (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| | The system calls this method to notify the widget that a mouse moved within it. 更多...
|
| |
| virtual FReply | OnMouseWheel (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| | Called when the mouse wheel is spun. 更多...
|
| |
| virtual FNavigationReply | OnNavigation (const FGeometry &MyGeometry, const FNavigationEvent &InNavigationEvent) |
| | Called when navigation is requested e.g. 更多...
|
| |
| virtual FReply | OnPreviewKeyDown (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) |
| | Called after a key is pressed when this widget or a child of this widget has focus If a widget handles this event, OnKeyDown will not be passed to the focused widget. 更多...
|
| |
| virtual FReply | OnPreviewMouseButtonDown (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| | Just like OnMouseButtonDown, but tunnels instead of bubbling. 更多...
|
| |
| virtual FPopupMethodReply | OnQueryPopupMethod () const |
| | Popups can manifest in a NEW OS WINDOW or via an OVERLAY in an existing window. 更多...
|
| |
| virtual TOptional< bool > | OnQueryShowFocus (const EFocusCause InFocusCause) const |
| | Called to determine if we should render the focus brush. 更多...
|
| |
|
virtual void | OnToolTipClosing () |
| | Called when a tooltip displayed from this widget is being closed
|
| |
| virtual FReply | OnTouchEnded (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) |
| | Called when a touchpad touch is ended (finger lifted) 更多...
|
| |
| virtual FReply | OnTouchFirstMove (const FGeometry &MyGeometry, const FPointerEvent &TouchEvent) |
| | Called when a touchpad touch first moves after TouchStarted 更多...
|
| |
| virtual FReply | OnTouchForceChanged (const FGeometry &MyGeometry, const FPointerEvent &TouchEvent) |
| | Called when a touchpad touch force changes 更多...
|
| |
| virtual FReply | OnTouchGesture (const FGeometry &MyGeometry, const FPointerEvent &GestureEvent) |
| | Called when the user performs a gesture on trackpad. 更多...
|
| |
| virtual FReply | OnTouchMoved (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) |
| | Called when a touchpad touch is moved (finger moved) 更多...
|
| |
| virtual FReply | OnTouchStarted (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) |
| | Called when a touchpad touch is started (finger down) 更多...
|
| |
| virtual TSharedPtr< FPopupLayer > | OnVisualizePopup (const TSharedRef< SWidget > &PopupContent) |
| | Visualize a new pop-up if possible. 更多...
|
| |
| virtual bool | OnVisualizeTooltip (const TSharedPtr< SWidget > &TooltipContent) |
| | Called when Slate wants to visualize tooltip. 更多...
|
| |
| int32 | Paint (const FPaintArgs &Args, const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, FSlateWindowElementList &OutDrawElements, int32 LayerId, const FWidgetStyle &InWidgetStyle, bool bParentEnabled) const |
| | Called to tell a widget to paint itself (and it's children). 更多...
|
| |
| TSharedRef< FActiveTimerHandle > | RegisterActiveTimer (float TickPeriod, FWidgetActiveTimerDelegate TickFunction) |
| | Registers an "active timer" delegate that will execute at some regular interval. 更多...
|
| |
|
FORCEINLINE void | SetClipping (EWidgetClipping InClipping) |
| | Sets the clipping to bounds rules for this widget.
|
| |
| FORCEINLINE void | SetCullingBoundsExtension (const FMargin &InCullingBoundsExtension) |
| | Sets an additional culling padding that is added to a widget to give more leeway when culling widgets. 更多...
|
| |
|
void | SetCursor (const TAttribute< TOptional< EMouseCursor::Type > > &InCursor) |
| | Set the cursor that should appear when this widget is hovered
|
| |
|
void | SetDebugInfo (const ANSICHAR *InType, const ANSICHAR *InFile, int32 OnLine, size_t InAllocSize) |
| | Used by Slate to set the runtime debug info about this widget.
|
| |
| void | SetEnabled (const TAttribute< bool > &InEnabledState) |
| | Sets the enabled state of this widget 更多...
|
| |
| void | SetFlowDirectionPreference (EFlowDirectionPreference InFlowDirectionPreference) |
| | Sets how content should flow in this panel, based on the current culture. 更多...
|
| |
|
void | SetOnMouseButtonDown (FPointerEventHandler EventHandler) |
| | See OnMouseButtonDown event
|
| |
|
void | SetOnMouseButtonUp (FPointerEventHandler EventHandler) |
| | See OnMouseButtonUp event
|
| |
|
void | SetOnMouseDoubleClick (FPointerEventHandler EventHandler) |
| | See OnMouseDoubleClick event
|
| |
|
void | SetOnMouseEnter (FNoReplyPointerEventHandler EventHandler) |
| | See OnMouseEnter event
|
| |
|
void | SetOnMouseLeave (FSimpleNoReplyPointerEventHandler EventHandler) |
| | See OnMouseLeave event
|
| |
|
void | SetOnMouseMove (FPointerEventHandler EventHandler) |
| | See OnMouseMove event
|
| |
| FORCEINLINE void | SetRenderOpacity (float InRenderOpacity) |
| |
| FORCEINLINE void | SetRenderTransform (TAttribute< TOptional< FSlateRenderTransform > > InTransform) |
| |
| FORCEINLINE void | SetRenderTransformPivot (TAttribute< FVector2D > InTransformPivot) |
| |
| void | SetToolTip (const TSharedPtr< IToolTip > &InToolTip) |
| | Set the tool tip that should appear when this widget is hovered. 更多...
|
| |
| void | SetToolTipText (const TAttribute< FText > &ToolTipText) |
| | Set the tool tip that should appear when this widget is hovered. 更多...
|
| |
| virtual void | SetVisibility (TAttribute< EVisibility > InVisibility) |
| |
|
void | SlatePrepass () |
| | DEPRECATED version of SlatePrepass that assumes no scaling beyond AppScale
|
| |
| void | SlatePrepass (float InLayoutScaleMultiplier) |
| | Descends to leaf-most widgets in the hierarchy and gathers desired sizes on the way up. 更多...
|
| |
| virtual bool | SupportsKeyboardFocus () const |
| | Checks to see if this widget supports keyboard focus. 更多...
|
| |
| virtual void | Tick (const FGeometry &AllottedGeometry, const double InCurrentTime, const float InDeltaTime) |
| | Ticks this widget with Geometry. 更多...
|
| |
| virtual FString | ToString () const |
| |
| void | UnRegisterActiveTimer (const TSharedRef< FActiveTimerHandle > &ActiveTimerHandle) |
| | Unregisters an active timer handle. 更多...
|
| |
| TSharedRef< SWidget, Mode > | AsShared () |
| | Provides access to a shared reference to this object. 更多...
|
| |
| TSharedRef< SWidget const, Mode > | AsShared () const |
| | Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多...
|
| |
| FORCEINLINE bool | DoesSharedInstanceExist () const |
| | Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多...
|
| |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const |
| | INTERNAL USE ONLY – Do not call this method. 更多...
|
| |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const |
| | INTERNAL USE ONLY – Do not call this method. 更多...
|
| |
|
|
bool | bCheckBoxContentUsesAutoWidth |
| | Whether or not the checkbox content is arranged using auto-width when in checkbox mode.
|
| |
| bool | bIsFocusable |
| | When true, this checkbox will be keyboard focusable. 更多...
|
| |
|
bool | bIsPressed |
| | True if this check box is currently in a pressed state
|
| |
|
TAttribute< FSlateColor > | BorderBackgroundColorOverride |
| | Overrides border background color in the widget style, if set
|
| |
|
TOptional< ESlateCheckBoxType::Type > | CheckBoxTypeOverride |
| | Overrides checkbox type in the widget style, if set
|
| |
|
const FSlateBrush * | CheckedHoveredImage |
| | Image to use when the checkbox is checked and hovered
|
| |
|
const FSlateBrush * | CheckedImage |
| | Image to use when the checkbox is checked
|
| |
|
const FSlateBrush * | CheckedPressedImage |
| | Image to use when the checkbox is checked and pressed
|
| |
|
FSlateSound | CheckedSound |
| | The Sound to play when the check box is checked
|
| |
|
EButtonClickMethod::Type | ClickMethod |
| | Sets whether a click should be triggered on mouse down, mouse up, or that both a mouse down and up are required.
|
| |
|
TSharedPtr< SBorder > | ContentContainer |
| | When in toggle button mode, this will hold the pointer to the toggle button's border
|
| |
|
TAttribute< FSlateColor > | ForegroundColorOverride |
| | Overrides foreground color in the widget style, if set
|
| |
|
EHorizontalAlignment | HorizontalAlignment |
| | Horiz align setting if in togglebox mode
|
| |
|
FSlateSound | HoveredSound |
| | The Sound to play when the check box is hovered
|
| |
|
TAttribute< ECheckBoxState > | IsCheckboxChecked |
| | Are we checked
|
| |
|
FOnCheckStateChanged | OnCheckStateChanged |
| | Delegate called when the check box changes state
|
| |
|
FOnGetContent | OnGetMenuContent |
| | Delegate to execute to get the menu content of this button
|
| |
|
TAttribute< FMargin > | PaddingOverride |
| | Overrides padding in the widget style, if set
|
| |
|
TEnumAsByte< EButtonPressMethod::Type > | PressMethod |
| | How should the button be clicked with keyboard/controller button events?
|
| |
|
TEnumAsByte< EButtonTouchMethod::Type > | TouchMethod |
| | How should the button be clicked with touch events?
|
| |
|
const FSlateBrush * | UncheckedHoveredImage |
| | Image to use when the checkbox is unchecked and hovered
|
| |
|
const FSlateBrush * | UncheckedImage |
| | Image to use when the checkbox is unchecked
|
| |
|
const FSlateBrush * | UncheckedPressedImage |
| | Image to use when the checkbox is unchecked and pressed
|
| |
|
FSlateSound | UncheckedSound |
| | The Sound to play when the check box is unchecked
|
| |
|
const FSlateBrush * | UndeterminedHoveredImage |
| | Image to use when the checkbox is in an ambiguous state and hovered
|
| |
|
const FSlateBrush * | UndeterminedImage |
| | Image to use when the checkbox is in an ambiguous state
|
| |
|
const FSlateBrush * | UndeterminedPressedImage |
| | Image to use when the checkbox is in an ambiguous state and pressed
|
| |
|
FSimpleSlot | ChildSlot |
| | The slot that contains this widget's descendants.
|
| |
|
TAttribute< FLinearColor > | ColorAndOpacity |
| | The color and opacity to apply to this widget and all its descendants.
|
| |
|
TAttribute< FVector2D > | ContentScale |
| | The layout scale to apply to this widget's contents; useful for animation.
|
| |
|
TAttribute< FSlateColor > | ForegroundColor |
| | Optional foreground color that will be inherited by all of this widget's contents
|
| |
|
uint8 | bCanHaveChildren: 1 |
| | Can the widget ever support children? This will be false on SLeafWidgets, rather than setting this directly, you should probably inherit from SLeafWidget.
|
| |
|
uint8 | bCanSupportFocus: 1 |
| | Can the widget ever support keyboard focus
|
| |
| uint8 | bClippingProxy: 1 |
| | Some widgets might be a complex hierarchy of child widgets you never see. 更多...
|
| |
|
uint8 | bIsHovered: 1 |
| | Is this widget hovered?
|
| |
|
uint8 | bVolatilityAlwaysInvalidatesPrepass: 1 |
| | if this widget should always invalidate the prepass step when volatile
|
| |
|
EWidgetClipping | Clipping |
| | Set to true if all content of the widget should clip to the bounds of this widget.
|
| |
|
FName | CreatedInLocation |
| | Full file path (and line) in which this widget was created
|
| |
| FMargin | CullingBoundsExtension |
| | Can be used to enlarge the culling bounds of this widget (pre-intersection), this can be useful if you've got children that you know are using rendering transforms to render outside their standard bounds, if that happens it's possible the parent might be culled before the descendant widget is entirely off screen. 更多...
|
| |
|
TAttribute< TOptional< EMouseCursor::Type > > | Cursor |
| | The cursor to show when the mouse is hovering over this widget.
|
| |
|
TAttribute< bool > | EnabledState |
| | Whether or not this widget is enabled
|
| |
|
TArray< TSharedRef< ISlateMetaData > > | MetaData |
| | Metadata associated with this widget
|
| |
| float | RenderOpacity |
| | The opacity of the widget. 更多...
|
| |
| TAttribute< TOptional< FSlateRenderTransform > > | RenderTransform |
| | Render transform of this widget. 更多...
|
| |
|
TAttribute< FVector2D > | RenderTransformPivot |
| | Render transform pivot of this widget (in normalized local space)
|
| |
|
FName | Tag |
| | Tag for this widget
|
| |
|
FName | TypeOfWidget |
| | Debugging information on the type of widget we're creating for the Widget Reflector.
|
| |
|
TAttribute< EVisibility > | Visibility |
| | Is this widget visible, hidden or collapsed
|
| |