internal static bool attach(IntPtr thisPtr, IntPtr item) { if (_attachFunc == null) { _attachFunc = (_attach)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiMessageVectorCtrl_attach"), typeof(_attach)); } return(_attachFunc(thisPtr, item)); }
internal static void attach(IntPtr thisPtr, InternalPoint3FStruct start, InternalPoint3FStruct direction, float maxDist) { if (_attachFunc == null) { _attachFunc = (_attach)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_PhysicsForce_attach"), typeof(_attach)); } _attachFunc(thisPtr, start, direction, maxDist); }
internal static bool attach(IntPtr thisPtr) { if (_attachFunc == null) { _attachFunc = (_attach)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_ConsoleLogger_attach"), typeof(_attach)); } return(_attachFunc(thisPtr)); }
internal static void attach(IntPtr thisPtr, IntPtr bottomWindow, IntPtr topWindow) { if (_attachFunc == null) { _attachFunc = (_attach)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiWindowCtrl_attach"), typeof(_attach)); } _attachFunc(thisPtr, bottomWindow, topWindow); }