Zero-size scale box that acts as a socket for other widgets with additional functionality for UVisualImage.
More...
#include <VisualSocket.h>
|
|
virtual void | SynchronizeProperties () override |
| | Keeps C++ and derived blueprint classes synced in the widget designer.
|
| |
| virtual void | ReleaseSlateResources (bool bReleaseChildren) override |
| | Releases memory allocated for slate widgets.
|
| |
| virtual TSharedRef< SWidget > | RebuildWidget () override |
| |
Zero-size scale box that acts as a socket for other widgets with additional functionality for UVisualImage.
- See also
- SVisualSocket
◆ GetImageDesiredPosition()
| FORCEINLINE FVector2D UVisualSocket::GetImageDesiredPosition |
( |
| ) |
const |
|
inline |
- Returns
- desired position of child visual image
◆ GetSocketOffset()
| FORCEINLINE FVector2D UVisualSocket::GetSocketOffset |
( |
| ) |
const |
|
inline |
- Returns
- socket offset of the child widget
◆ IsAutoPositioning()
| FORCEINLINE bool UVisualSocket::IsAutoPositioning |
( |
| ) |
const |
|
inline |
- Returns
- auto positioning policy for child visual image
◆ RebuildWidget()
| TSharedRef< SWidget > UVisualSocket::RebuildWidget |
( |
| ) |
|
|
overrideprotectedvirtual |
- Returns
- underlying slate widget
◆ ReleaseSlateResources()
| void UVisualSocket::ReleaseSlateResources |
( |
bool | bReleaseChildren | ) |
|
|
overrideprotectedvirtual |
Releases memory allocated for slate widgets.
- Parameters
-
| bReleaseChildren | should memory of child widgets be released |
◆ SetAutoPositioning()
| void UVisualSocket::SetAutoPositioning |
( |
bool | ShouldAutoPosition | ) |
|
◆ SetImageDesiredPosition()
| void UVisualSocket::SetImageDesiredPosition |
( |
FVector2D | Position | ) |
|
◆ SetSocketOffset()
| void UVisualSocket::SetSocketOffset |
( |
FVector2D | InSocketPosition | ) |
|
◆ bAutoPositioning
| bool UVisualSocket::bAutoPositioning |
|
protected |
◆ ImageDesiredPosition
| FVector2D UVisualSocket::ImageDesiredPosition |
|
protected |
Desired position, in slate units, of the center of child visual image.
Meaningless for child widget that is not visual image.
- Note
- UVisualSocket::bAutoPositioning must be enabled for this feature to work
◆ SlateVisualSocket
The documentation for this class was generated from the following files:
- VisualSocket.h
- VisualSocket.cpp