Example #1
0
            internal static _GetPitch GetPitch()
            {
                if (_GetPitchFunc == null)
                {
                    _GetPitchFunc =
                        (_GetPitch)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_getPitch"), typeof(_GetPitch));
                }

                return(_GetPitchFunc);
            }
Example #2
0
            internal static _GetPitch GetPitch()
            {
                if (_GetPitchFunc == null)
                {
                    _GetPitchFunc =
                        (_GetPitch)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_getPitch"), typeof(_GetPitch));
                }

                return(_GetPitchFunc);
            }