Exemplo n.º 1
0
            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));
            }
Exemplo n.º 2
0
            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);
            }
Exemplo n.º 3
0
            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));
            }
Exemplo n.º 4
0
            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);
            }