unreal.CanvasPanelSlot
¶
- class unreal.CanvasPanelSlot(outer=None, name='None')¶
Bases:
unreal.PanelSlot
Canvas Panel Slot
C++ Source:
Module: UMG
File: CanvasPanelSlot.h
Editor Properties: (see get_editor_property/set_editor_property)
auto_size
(bool): [Read-Write] Auto Size: When AutoSize is true we use the widget’s desired sizelayout_data
(AnchorData): [Read-Write] Layout Data: The anchoring information for the slotz_order
(int32): [Read-Write] ZOrder: The order priority this widget is rendered in. Higher values are rendered last (and so they will appear to be on top).
- property auto_size¶
[Read-Only] Auto Size: When AutoSize is true we use the widget’s desired size
- Type
(bool)
- get_layout() AnchorData ¶
Gets the layout data of the slot
- Return type
- get_offsets() Margin ¶
Gets the offset data of the slot, which could be position and size, or margins depending on the anchor points
- Return type
- get_z_order() int32 ¶
Gets the z-order on the slot
- Return type
int32
- property layout_data¶
[Read-Only] Layout Data: The anchoring information for the slot
- Type
- set_auto_size(inb_auto_size) None ¶
Sets if the slot to be auto-sized
- Parameters
inb_auto_size (bool) –
- set_layout(layout_data) None ¶
Sets the layout data of the slot
- Parameters
layout_data (AnchorData) –
- set_offsets(offset) None ¶
Sets the offset data of the slot, which could be position and size, or margins depending on the anchor points
- Parameters
offset (Margin) –
- property z_order¶
[Read-Only] ZOrder: The order priority this widget is rendered in. Higher values are rendered last (and so they will appear to be on top).
- Type
(int32)