C# Класс VrSharp.SvrTexture.SvrTexture

Наследование: VrTexture
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Is ( Stream source ) : bool

Determines if this is a SVR texture.

Is ( Stream source, int length ) : bool

Determines if this is a SVR texture.

Is ( byte source ) : bool

Determines if this is a SVR texture.

Is ( byte source, int offset, int length ) : bool

Determines if this is a SVR texture.

Is ( string file ) : bool

Determines if this is a SVR texture.

SetPalette ( VrSharp.SvrTexture.SvpPalette palette ) : void

Set the palette data from an external palette file.

SvrTexture ( Stream source ) : System

Open a SVR texture from a stream.

SvrTexture ( Stream source, int length ) : System

Open a SVR texture from a stream.

SvrTexture ( byte source ) : System

Open a SVR texture from a byte array.

SvrTexture ( byte source, int offset, int length ) : System

Open a SVR texture from a byte array.

SvrTexture ( string file ) : System

Open a SVR texture from a file.

Защищенные методы

Метод Описание
Initalize ( ) : void

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

Initalize() защищенный Метод

protected Initalize ( ) : void
Результат void

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

Determines if this is a SVR texture.
public static Is ( Stream source ) : bool
source Stream The stream to read from. The stream position is not changed.
Результат bool

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

Determines if this is a SVR texture.
public static Is ( Stream source, int length ) : bool
source Stream The stream to read from. The stream position is not changed.
length int Number of bytes to read.
Результат bool

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

Determines if this is a SVR texture.
public static Is ( byte source ) : bool
source byte Byte array containing the data.
Результат bool

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

Determines if this is a SVR texture.
public static Is ( byte source, int offset, int length ) : bool
source byte Byte array containing the data.
offset int The offset in the byte array to start at.
length int Length of the data (in bytes).
Результат bool

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

Determines if this is a SVR texture.
public static Is ( string file ) : bool
file string Filename of the file that contains the data.
Результат bool

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

Set the palette data from an external palette file.
public SetPalette ( VrSharp.SvrTexture.SvpPalette palette ) : void
palette VrSharp.SvrTexture.SvpPalette A SvpPalette object
Результат void

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

Open a SVR texture from a stream.
public SvrTexture ( Stream source ) : System
source Stream Stream that contains the texture data.
Результат System

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

Open a SVR texture from a stream.
public SvrTexture ( Stream source, int length ) : System
source Stream Stream that contains the texture data.
length int Number of bytes to read.
Результат System

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

Open a SVR texture from a byte array.
public SvrTexture ( byte source ) : System
source byte Byte array that contains the texture data.
Результат System

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

Open a SVR texture from a byte array.
public SvrTexture ( byte source, int offset, int length ) : System
source byte Byte array that contains the texture data.
offset int Offset of the texture in the array.
length int Number of bytes to read.
Результат System

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

Open a SVR texture from a file.
public SvrTexture ( string file ) : System
file string Filename of the file that contains the texture data.
Результат System