The XFileResourceLocator type exposes the following members.

Methods

  NameDescription
AddFindFolder
Add a find folder.
ClearCustomFindFolders
Removes all custom find folders.
Equals

Determines whether the specified Object is equal to the current Object.

(Inherited from Object.)
Finalize

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

(Inherited from Object.)
FindFile
Tries to locate the file fileName in the default folders.
FindFileLocation
Tries to locate the file fileName in the default folders.
FindFilesOverloaded.
GetCustomFindFolders
Gets all custom find folders.
GetFindFolders
Returns the collection of folders where the sources (models, testures, scenes, images ...) are located. They are :
Application project folder.
Application folder.
SGP folder in My Documents.
SGP folder.
GetHashCode

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

(Inherited from Object.)
GetType

Gets the Type of the current instance.

(Inherited from Object.)
MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)
RemoveFindFolder
Removes a custom find folder.
ToString

Returns a String that represents the current Object.

(Inherited from Object.)

Properties

  NameDescription
AppExeName
Gets the running application name.
AppFolder
Gets the running application folder.
ProjectFolder
Gets or sets the project folder. This internal property serves for tools that uses the SGPRTL.
ProjectName
Gets or sets the project name. This internal property serves for tools that uses the SGPRTL.

See Also