Exemplo n.º 1
0
            internal static _SetPitch SetPitch()
            {
                if (_SetPitchFunc == null)
                {
                    _SetPitchFunc =
                        (_SetPitch)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_setPitch"), typeof(_SetPitch));
                }

                return(_SetPitchFunc);
            }
Exemplo n.º 2
0
            internal static _SetPitch SetPitch()
            {
                if (_SetPitchFunc == null)
                {
                    _SetPitchFunc =
                        (_SetPitch)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_setPitch"), typeof(_SetPitch));
                }

                return(_SetPitchFunc);
            }