C# Класс OpenBve.Textures.PathOrigin

Represents a file or directory where the texture can be loaded from.
Наследование: TextureOrigin
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetTexture ( OpenBveApi &texture ) : bool

Gets the texture from this origin.

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

Creates a new path origin.

Описание методов

Equals() публичный Метод

Checks whether this instance is equal to the specified object.
public Equals ( object obj ) : bool
obj object The object.
Результат bool

ToString() публичный Метод

Returns a string representing the absolute on-disk path of this texture
public ToString ( ) : string
Результат string

operator() публичный статический Метод

Checks whether two origins are equal.
public static operator ( ) : bool
Результат bool