IrrKlang.NET

IFileFactory.openFile Method 

Opens a file for read access. Derive your own class from IFileFactory, overwrite this method and return your own System::IO::Stream to overwrite file access of irrKlang. Use ISoundEngine::addFileFactory() to let irrKlang know about your class. Example code can be found in the tutorial 04.OverrideFileAccess.

[Visual Basic]
Function openFile( _
   ByVal filename As String _
) As Stream
[C#]
Stream openFile(
   string filename
);

See Also

IFileFactory Interface | IrrKlang Namespace