Пример #1
0
            internal static _DeleteDecalDatablock DeleteDecalDatablock()
            {
                if (_DeleteDecalDatablockFunc == null)
                {
                    _DeleteDecalDatablockFunc =
                        (_DeleteDecalDatablock)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiDecalEditorCtrl_deleteDecalDatablock"), typeof(_DeleteDecalDatablock));
                }

                return(_DeleteDecalDatablockFunc);
            }
Пример #2
0
            internal static _DeleteDecalDatablock DeleteDecalDatablock()
            {
                if (_DeleteDecalDatablockFunc == null)
                {
                    _DeleteDecalDatablockFunc =
                        (_DeleteDecalDatablock)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiDecalEditorCtrl_deleteDecalDatablock"), typeof(_DeleteDecalDatablock));
                }

                return(_DeleteDecalDatablockFunc);
            }