Beispiel #1
0
            internal static bool detach(IntPtr thisPtr)
            {
                if (_detachFunc == null)
                {
                    _detachFunc =
                        (_detach)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                            "fn_ConsoleLogger_detach"), typeof(_detach));
                }

                return(_detachFunc(thisPtr));
            }
Beispiel #2
0
            internal static void detach(IntPtr thisPtr)
            {
                if (_detachFunc == null)
                {
                    _detachFunc =
                        (_detach)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                            "fn_GuiMessageVectorCtrl_detach"), typeof(_detach));
                }

                _detachFunc(thisPtr);
            }
Beispiel #3
0
            internal static void detach(IntPtr thisPtr, InternalPoint3FStruct force)
            {
                if (_detachFunc == null)
                {
                    _detachFunc =
                        (_detach)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                            "fn_PhysicsForce_detach"), typeof(_detach));
                }

                _detachFunc(thisPtr, force);
            }