internal static unsafe void Invoke(IntPtr obj, EWindSourceType InNewType) { long *p = stackalloc long[] { 0L, 0L }; byte *b = (byte *)p; *(b + 0) = (byte)InNewType; Main.GetProcessEvent(obj, SetWindType_ptr, new IntPtr(p));; } }
///<summary>Set the type of wind generator to use</summary> public void SetWindType(EWindSourceType InNewType) => WindDirectionalSourceComponent_methods.SetWindType_method.Invoke(ObjPointer, InNewType);