Beispiel #1
0
            internal static _SetFile SetFile()
            {
                if (_SetFileFunc == null)
                {
                    _SetFileFunc =
                        (_SetFile)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiTheoraCtrl_setFile"), typeof(_SetFile));
                }

                return(_SetFileFunc);
            }
Beispiel #2
0
            internal static _SetFile SetFile()
            {
                if (_SetFileFunc == null)
                {
                    _SetFileFunc =
                        (_SetFile)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiTheoraCtrl_setFile"), typeof(_SetFile));
                }

                return(_SetFileFunc);
            }