Verse API reference page for the MakeCanvasSlot function
Make a canvas slot for fixed position widget. If Size is set, then the Offsets is calculated and the SizeToContent is set to false. If Size is not set, then Right and Bottom are set to zero and are not used. The widget size will be automatically calculated. The SizeToContent is set to true. The widget is not anchored and will not move if the parent is resized. The Anchors is set to zero.
Verse using statement |
using { /UnrealEngine.com/Temporary/UI } |
MakeCanvasSlot<public><native>(Widget:widget, Position:vector2, Size:vector2, ZOrder:int, Alignment:vector2)<computes>:canvas_slot
Parameters
MakeCanvasSlot takes the following parameters:
| Name | Type | Description |
|---|---|---|
Widget |
widget |
|
Position |
vector2 |
|
Size |
vector2 |
|
ZOrder |
int |
|
Alignment |
vector2 |
Attributes, Specifiers, and Effects
Specifiers
The following specifiers determine how you can interact with MakeCanvasSlot in your programs. For the complete list of specifiers, see the Specifiers Page.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.