Opens a file stored on the local filesystem for reading.
constructor Create(const Owner: TAgkObject; const Filename: String);
Parameters |
Description |
const Owner: TAgkObject |
the owner of the file writer (eg. a TAgkScene object). |
const Filename: String |
The filename to open for reading. |
All platforms are restricted to a single folder for reading and writing so file paths must be relative, not absolute. This command will check the special write folder first, and if it cannot locate the file it will check the media folder, so you may load images, sounds, and other bundled media files using this command.
TAgkFileReader
Copyright (c) 2012. All rights reserved.
|