C# Class OpenBveApi.Textures.TextureParameters

Represents additional parameters that specify how to process the texture.
Exibir arquivo Open project: leezer3/OpenBVE Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Checks whether this instance is equal to the specified object.

TextureParameters ( TextureClipRegion clipRegion, Nullable transparentColor ) : System

Creates new texture parameters.

operator ( ) : bool

Checks whether two texture parameters are equal.

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

TextureParameters() public method

Creates new texture parameters.
public TextureParameters ( TextureClipRegion clipRegion, Nullable transparentColor ) : System
clipRegion TextureClipRegion The region in the texture to be extracted, or a null reference for the entire texture.
transparentColor Nullable The color in the texture that should become transparent, or a null reference for no transparent color.
return System

operator() public static method

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