Slate widget that acts as a socket for the child widget with additional features for UVisualImage.
More...
#include <SVisualSocket.h>
|
FVector2D | ChildDesiredSize |
| Desired size of the child.
|
|
UVisualImage * | VisualImage |
| Optional child visual image.
|
|
FVector2D | SocketPosition |
| Offset to apply to the child widget.
|
|
FVector2D | ImageDesiredPosition |
| Desired position of the child visual image.
|
|
Slate widget that acts as a socket for the child widget with additional features for UVisualImage.
- See also
- UVisualSocket
◆ ComputeDesiredSize()
FVector2D SVisualSocket::ComputeDesiredSize |
( |
float | InScale | ) |
const |
|
overridevirtual |
Calculates desire size.
SVisualSocket has zero size.
- Returns
- computed desired size of this widget
◆ Construct()
void SVisualSocket::Construct |
( |
const FArguments & | Args | ) |
|
Constructor call for slate declarative syntax.
- Parameters
-
◆ OnArrangeChildren()
void SVisualSocket::OnArrangeChildren |
( |
const FGeometry & | AllottedGeometry, |
|
|
FArrangedChildren & | ArrangedChildren ) const |
|
overridevirtual |
◆ SetImageDesiredPosition()
void SVisualSocket::SetImageDesiredPosition |
( |
FVector2D | InPosition | ) |
|
◆ SetSocketOffset()
void SVisualSocket::SetSocketOffset |
( |
FVector2D | InPosition | ) |
|
◆ SetVisualImage()
void SVisualSocket::SetVisualImage |
( |
UVisualImage * | InVisualImage | ) |
|
◆ ChildDesiredSize
FVector2D SVisualSocket::ChildDesiredSize |
|
mutableprivate |
Desired size of the child.
It is affected by the scale applied to the SVisualSocket.
The documentation for this class was generated from the following files:
- SVisualSocket.h
- SVisualSocket.cpp