Exemple #1
0
            internal static _GetMouse3DVec GetMouse3DVec()
            {
                if (_GetMouse3DVecFunc == null)
                {
                    _GetMouse3DVecFunc =
                        (_GetMouse3DVec)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxTSCtrl_getMouse3DVec"), typeof(_GetMouse3DVec));
                }

                return(_GetMouse3DVecFunc);
            }
Exemple #2
0
            internal static _GetMouse3DVec GetMouse3DVec()
            {
                if (_GetMouse3DVecFunc == null)
                {
                    _GetMouse3DVecFunc =
                        (_GetMouse3DVec)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxTSCtrl_getMouse3DVec"), typeof(_GetMouse3DVec));
                }

                return(_GetMouse3DVecFunc);
            }