Пример #1
0
/// <summary>
/// Gets the slot object on the child widget as a Canvas Slot, allowing you to manipulate layout information.
/// @param Widget The child widget of a canvas panel.
/// </summary>
        public static UCanvasPanelSlot SlotAsCanvasSlot(UWidget Widget)
        {
            IntPtr ___ret = SlotAsCanvasSlot(IntPtr.Zero, Widget);

            if (___ret == IntPtr.Zero)
            {
                return(null);
            }
            UCanvasPanelSlot ___ret2 = new UCanvasPanelSlot()
            {
                _this = ___ret
            }; return(___ret2);
        }
Пример #2
0
        public UCanvasPanelSlot AddChildToCanvas(UWidget Content)
        {
            CheckIsValid();
            IntPtr ___ret = AddChildToCanvas(_this.Get(), Content);

            if (___ret == IntPtr.Zero)
            {
                return(null);
            }
            UCanvasPanelSlot ___ret2 = new UCanvasPanelSlot()
            {
                _this = ___ret
            }; return(___ret2);
        }