internal static _GetSoundDuration GetSoundDuration() { if (_GetSoundDurationFunc == null) { _GetSoundDurationFunc = (_GetSoundDuration)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnSFXProfile_getSoundDuration"), typeof(_GetSoundDuration)); } return(_GetSoundDurationFunc); }
internal static _GetSoundDuration GetSoundDuration() { if (_GetSoundDurationFunc == null) { _GetSoundDurationFunc = (_GetSoundDuration)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnSFXProfile_getSoundDuration"), typeof(_GetSoundDuration)); } return(_GetSoundDurationFunc); }