C# Class OpenBve.Textures.PathOrigin

Represents a file or directory where the texture can be loaded from.
Inheritance: TextureOrigin
Afficher le fichier Open project: leezer3/OpenBVE

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool

Checks whether this instance is equal to the specified object.

ToString ( ) : string

Returns a string representing the absolute on-disk path of this texture

operator ( ) : bool

Checks whether two origins are equal.

Private Methods

Méthode Description
GetTexture ( OpenBveApi &texture ) : bool

Gets the texture from this origin.

PathOrigin ( string path, OpenBveApi parameters ) : System.Drawing

Creates a new path origin.

Method Details

Equals() public méthode

Checks whether this instance is equal to the specified object.
public Equals ( object obj ) : bool
obj object The object.
Résultat bool

ToString() public méthode

Returns a string representing the absolute on-disk path of this texture
public ToString ( ) : string
Résultat string

operator() public static méthode

Checks whether two origins are equal.
public static operator ( ) : bool
Résultat bool