internal static void pause(IntPtr thisPtr)
            {
                if (_pauseFunc == null)
                {
                    _pauseFunc =
                        (_pause)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                           "fn_GuiTheoraCtrl_pause"), typeof(_pause));
                }

                _pauseFunc(thisPtr);
            }
Example #2
0
            internal static void pause(IntPtr thisPtr, float fadeOutTime)
            {
                if (_pauseFunc == null)
                {
                    _pauseFunc =
                        (_pause)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                           "fn_SFXSource_pause"), typeof(_pause));
                }

                _pauseFunc(thisPtr, fadeOutTime);
            }
Example #3
0
 set => SetProperty(ref _pause, value);