Enfusion Script API
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
FrameSlot Interface Reference
Inheritance diagram for FrameSlot:
[legend]

Static Public Member Functions

static proto void GetOffsets (notnull Widget widget, out float left, out float top, out float right, out float bottom)
 
static proto float GetPosX (notnull Widget widget)
 
static proto vector GetPos (notnull Widget widget)
 
static proto float GetPosY (notnull Widget widget)
 
static proto vector GetSize (notnull Widget widget)
 
static proto float GetSizeX (notnull Widget widget)
 
static proto float GetSizeY (notnull Widget widget)
 
static proto vector GetAnchorMin (notnull Widget widget)
 
static proto vector GetAnchorMax (notnull Widget widget)
 
static proto vector GetAlignment (notnull Widget widget)
 
static proto bool IsSizeToContent (notnull Widget widget)
 
static proto void SetOffsets (notnull Widget widget, float left, float top, float right, float bottom)
 
static proto void SetPos (notnull Widget widget, float x, float y)
 
static proto void SetPosX (notnull Widget widget, float x)
 
static proto void SetPosY (notnull Widget widget, float y)
 
static proto void SetSize (notnull Widget widget, float x, float y)
 
static proto void SetSizeX (notnull Widget widget, float x)
 
static proto void SetSizeY (notnull Widget widget, float y)
 
static proto void SetAnchor (notnull Widget widget, float x, float y)
 Same as calling following two: SetAnchorMin(w, x, y); SetAnchorMax(w, x, y);.
 
static proto void SetAnchorMin (notnull Widget widget, float x, float y)
 
static proto void SetAnchorMax (notnull Widget widget, float x, float y)
 
static proto void SetAlignment (notnull Widget widget, float x, float y)
 
static proto void SetSizeToContent (notnull Widget widget, bool isSizeToContent)
 
static proto void Move (notnull Widget widget, float xOffset, float yOffset)
 Moves given widget by given amount.
 

Member Function Documentation

◆ GetAlignment()

static proto vector FrameSlot.GetAlignment ( notnull Widget  widget)
static

◆ GetAnchorMax()

static proto vector FrameSlot.GetAnchorMax ( notnull Widget  widget)
static

◆ GetAnchorMin()

static proto vector FrameSlot.GetAnchorMin ( notnull Widget  widget)
static

◆ GetOffsets()

static proto void FrameSlot.GetOffsets ( notnull Widget  widget,
out float  left,
out float  top,
out float  right,
out float  bottom 
)
static

◆ GetPos()

static proto vector FrameSlot.GetPos ( notnull Widget  widget)
static

◆ GetPosX()

static proto float FrameSlot.GetPosX ( notnull Widget  widget)
static

◆ GetPosY()

static proto float FrameSlot.GetPosY ( notnull Widget  widget)
static

◆ GetSize()

static proto vector FrameSlot.GetSize ( notnull Widget  widget)
static

◆ GetSizeX()

static proto float FrameSlot.GetSizeX ( notnull Widget  widget)
static

◆ GetSizeY()

static proto float FrameSlot.GetSizeY ( notnull Widget  widget)
static

◆ IsSizeToContent()

static proto bool FrameSlot.IsSizeToContent ( notnull Widget  widget)
static

◆ Move()

static proto void FrameSlot.Move ( notnull Widget  widget,
float  xOffset,
float  yOffset 
)
static

Moves given widget by given amount.

Parameters
widgetWidget to move, must have a FrameSlot
xOffsetOffset added to widget's current x coordinate
yOffsetOffset added to widget's current y coordinate

◆ SetAlignment()

static proto void FrameSlot.SetAlignment ( notnull Widget  widget,
float  x,
float  y 
)
static

◆ SetAnchor()

static proto void FrameSlot.SetAnchor ( notnull Widget  widget,
float  x,
float  y 
)
static

Same as calling following two: SetAnchorMin(w, x, y); SetAnchorMax(w, x, y);.

◆ SetAnchorMax()

static proto void FrameSlot.SetAnchorMax ( notnull Widget  widget,
float  x,
float  y 
)
static

◆ SetAnchorMin()

static proto void FrameSlot.SetAnchorMin ( notnull Widget  widget,
float  x,
float  y 
)
static

◆ SetOffsets()

static proto void FrameSlot.SetOffsets ( notnull Widget  widget,
float  left,
float  top,
float  right,
float  bottom 
)
static

◆ SetPos()

static proto void FrameSlot.SetPos ( notnull Widget  widget,
float  x,
float  y 
)
static

◆ SetPosX()

static proto void FrameSlot.SetPosX ( notnull Widget  widget,
float  x 
)
static

◆ SetPosY()

static proto void FrameSlot.SetPosY ( notnull Widget  widget,
float  y 
)
static

◆ SetSize()

static proto void FrameSlot.SetSize ( notnull Widget  widget,
float  x,
float  y 
)
static

◆ SetSizeToContent()

static proto void FrameSlot.SetSizeToContent ( notnull Widget  widget,
bool  isSizeToContent 
)
static

◆ SetSizeX()

static proto void FrameSlot.SetSizeX ( notnull Widget  widget,
float  x 
)
static

◆ SetSizeY()

static proto void FrameSlot.SetSizeY ( notnull Widget  widget,
float  y 
)
static

The documentation for this interface was generated from the following file: