Beispiel #1
0
            internal static unsafe void Invoke(IntPtr obj, SlateFontInfo InFontInfo)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((SlateFontInfo *)(b + 0)) = InFontInfo;
                Main.GetProcessEvent(obj, SetFont_ptr, new IntPtr(p));;
            }
        }
Beispiel #2
0
 ///<summary>
 ///Dynamically set the font info for this text block
 ///@
 ///</summary>
 ///<remarks>param InFontInfo THe new font info</remarks>
 public void SetFont(SlateFontInfo InFontInfo) =>
 TextBlock_methods.SetFont_method.Invoke(ObjPointer, InFontInfo);