Beispiel #1
0
            internal static _ClearAll ClearAll()
            {
                if (_ClearAllFunc == null)
                {
                    _ClearAllFunc =
                        (_ClearAll)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoManager_clearAll"), typeof(_ClearAll));
                }

                return(_ClearAllFunc);
            }
Beispiel #2
0
            internal static _ClearAll ClearAll()
            {
                if (_ClearAllFunc == null)
                {
                    _ClearAllFunc =
                        (_ClearAll)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPersistenceManager_clearAll"), typeof(_ClearAll));
                }

                return(_ClearAllFunc);
            }