Свойство | Type | Description | |
---|---|---|---|
DefaultTexture | TextureEntryFace | ||
FaceTextures | TextureEntryFace[] | ||
WHITE_TEXTURE | UUID |
Méthode | Description | |
---|---|---|
CreateFace ( uint index ) : TextureEntryFace |
This will either create a new face if a custom face for the given index is not defined, or return the custom face for that index if it already exists
|
|
FromOSD ( OSD osd ) : TextureEntry | ||
GetFace ( uint index ) : TextureEntryFace |
|
|
GetOSD ( ) : OSD |
|
|
TextureEntry ( TextureEntryFace defaultFace ) : System |
Constructor that takes a
|
|
TextureEntry ( UUID defaultTextureID ) : System |
Constructor that takes a default texture UUID
|
|
TextureEntry ( byte data, int pos, int length ) : System |
Constructor that creates the TextureEntry class from a byte array
|
|
ToBytes ( ) : byte[] |
|
|
ToString ( ) : string |
|
Méthode | Description | |
---|---|---|
FromBytes ( byte data, int pos, int length ) : void | ||
GetFaceBitfieldBytes ( uint bitfield ) : byte[] | ||
InitializeArray ( uint &array ) : void | ||
ReadFaceBitfield ( byte data, int &pos, uint &faceBits, uint &bitfieldSize ) : bool |
public CreateFace ( uint index ) : TextureEntryFace | ||
index | uint | The index number of the face to create or /// retrieve |
Résultat | TextureEntryFace |
public static FromOSD ( OSD osd ) : TextureEntry | ||
osd | OSD | |
Résultat | TextureEntry |
public GetFace ( uint index ) : TextureEntryFace | ||
index | uint | |
Résultat | TextureEntryFace |
public TextureEntry ( TextureEntryFace defaultFace ) : System | ||
defaultFace | TextureEntryFace | Face to use as the default face |
Résultat | System |
public TextureEntry ( UUID defaultTextureID ) : System | ||
defaultTextureID | UUID | Texture UUID to use as the default texture |
Résultat | System |
public TextureEntry ( byte data, int pos, int length ) : System | ||
data | byte | Byte array containing the TextureEntry field |
pos | int | Starting position of the TextureEntry field in /// the byte array |
length | int | Length of the TextureEntry field, in bytes |
Résultat | System |