コード例 #1
0
            internal static _PushCompound PushCompound()
            {
                if (_PushCompoundFunc == null)
                {
                    _PushCompoundFunc =
                        (_PushCompound)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoManager_pushCompound"), typeof(_PushCompound));
                }

                return(_PushCompoundFunc);
            }
コード例 #2
0
ファイル: UndoManager.cs プロジェクト: lukaspj/T3DSharp
            internal static _PushCompound PushCompound()
            {
                if (_PushCompoundFunc == null)
                {
                    _PushCompoundFunc =
                        (_PushCompound)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnUndoManager_pushCompound"), typeof(_PushCompound));
                }

                return(_PushCompoundFunc);
            }