Class ButtonSlot
The Slot for the UButtonSlot, contains the widget displayed in a button's single slot
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.UMG
Assembly: UE4DotNet.dll
Syntax
public class ButtonSlot : PanelSlot
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static ButtonSlot DefaultObject { get; }
Property Value
Type | Description |
---|---|
ButtonSlot |
HorizontalAlignment
The alignment of the object horizontally.
Declaration
public byte HorizontalAlignment { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Padding
The padding area between the slot and the content it contains.
Declaration
public Margin Padding { get; }
Property Value
Type | Description |
---|---|
Margin |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
VerticalAlignment
The alignment of the object vertically.
Declaration
public byte VerticalAlignment { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static ButtonSlot New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
ButtonSlot |
SetHorizontalAlignment(Byte)
Set Horizontal Alignment
Declaration
public void SetHorizontalAlignment(byte InHorizontalAlignment)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | InHorizontalAlignment |
SetPadding(Margin)
Set Padding
Declaration
public void SetPadding(Margin InPadding)
Parameters
Type | Name | Description |
---|---|---|
Margin | InPadding |
SetVerticalAlignment(Byte)
Set Vertical Alignment
Declaration
public void SetVerticalAlignment(byte InVerticalAlignment)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | InVerticalAlignment |
Operators
| Improve this Doc View SourceImplicit(IntPtr to ButtonSlot)
Convert from IntPtr to UObject
Declaration
public static implicit operator ButtonSlot(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
ButtonSlot |