C# Class OpenBve.Textures.TextureOrigin

Represents the origin where the texture can be loaded from.
Show file Open project: leezer3/OpenBVE

Public Methods

Method Description
Equals ( object obj ) : bool

Checks whether this instance is equal to the specified object.

operator ( ) : bool

Checks whether two origins are equal.

Private Methods

Method Description
GetTexture ( OpenBveApi &texture ) : bool

Gets the texture from this origin.

Method Details

Equals() public method

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

operator() public static method

Checks whether two origins are equal.
public static operator ( ) : bool
return bool