Example #1
0
            internal static _IsPlaying IsPlaying()
            {
                if (_IsPlayingFunc == null)
                {
                    _IsPlayingFunc =
                        (_IsPlaying)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_isPlaying"), typeof(_IsPlaying));
                }

                return(_IsPlayingFunc);
            }
Example #2
0
            internal static _IsPlaying IsPlaying()
            {
                if (_IsPlayingFunc == null)
                {
                    _IsPlayingFunc =
                        (_IsPlaying)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_isPlaying"), typeof(_IsPlaying));
                }

                return(_IsPlayingFunc);
            }