Esempio n. 1
0
            internal static _GetWorldToScreenScale GetWorldToScreenScale()
            {
                if (_GetWorldToScreenScaleFunc == null)
                {
                    _GetWorldToScreenScaleFunc =
                        (_GetWorldToScreenScale)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiTSCtrl_getWorldToScreenScale"), typeof(_GetWorldToScreenScale));
                }

                return(_GetWorldToScreenScaleFunc);
            }
Esempio n. 2
0
            internal static _GetWorldToScreenScale GetWorldToScreenScale()
            {
                if (_GetWorldToScreenScaleFunc == null)
                {
                    _GetWorldToScreenScaleFunc =
                        (_GetWorldToScreenScale)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiTSCtrl_getWorldToScreenScale"), typeof(_GetWorldToScreenScale));
                }

                return(_GetWorldToScreenScaleFunc);
            }