Beispiel #1
0
 internal static _IsInverted IsInverted() {
     if (_IsInvertedFunc == null) {
         _IsInvertedFunc =
             (_IsInverted)Marshal.GetDelegateForFunctionPointer(
                 Torque3D.DllLoadUtils.GetProcAddress(
                     Torque3D.Torque3DLibHandle,
                     "fnActionMap_isInverted"), typeof(_IsInverted));
     }
     
     return _IsInvertedFunc;
 }
Beispiel #2
0
            internal static _IsInverted IsInverted()
            {
                if (_IsInvertedFunc == null)
                {
                    _IsInvertedFunc =
                        (_IsInverted)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnActionMap_isInverted"), typeof(_IsInverted));
                }

                return(_IsInvertedFunc);
            }