M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Public Member Functions | |
SpritePart (string name, SpriteCategory category, int width, int height) | |
void | UpdateInitValues () |
void | DrawSpritePart (float screenX, float screenY, float[] outVertices, float[] outUvs, int verticesStartIndex, int uvsStartIndex) |
void | DrawSpritePart (float screenX, float screenY, float[] outVertices, float[] outUvs, int verticesStartIndex, int uvsStartIndex, float scale, float customWidth, float customHeight, bool horizontalFlip, bool verticalFlip) |
void | FillTextureCoordinates (float[] outUVs, int uvsStartIndex, bool horizontalFlip, bool verticalFlip) |
Properties | |
string | Name [get] |
Name of the part. | |
int | Width [get] |
Width of the part. | |
int | Height [get] |
Height of the part. | |
int | SheetID [get, set] |
ID of the sheet the part is in. | |
int | SheetX [get, set] |
Top left X coordinate of the part on the sheet. | |
int | SheetY [get, set] |
Top left Y coordinate of the part on the sheet. | |
float | MinU [get] |
float | MinV [get] |
float | MaxU [get] |
float | MaxV [get] |
int | SheetWidth [get] |
int | SheetHeight [get] |
Texture | Texture [get] |
SpriteCategory | Category [get] |
TaleWorlds.TwoDimension.SpritePart.SpritePart | ( | string | name, |
SpriteCategory | category, | ||
int | width, | ||
int | height | ||
) |
void TaleWorlds.TwoDimension.SpritePart.UpdateInitValues | ( | ) |
void TaleWorlds.TwoDimension.SpritePart.DrawSpritePart | ( | float | screenX, |
float | screenY, | ||
float[] | outVertices, | ||
float[] | outUvs, | ||
int | verticesStartIndex, | ||
int | uvsStartIndex | ||
) |
void TaleWorlds.TwoDimension.SpritePart.DrawSpritePart | ( | float | screenX, |
float | screenY, | ||
float[] | outVertices, | ||
float[] | outUvs, | ||
int | verticesStartIndex, | ||
int | uvsStartIndex, | ||
float | scale, | ||
float | customWidth, | ||
float | customHeight, | ||
bool | horizontalFlip, | ||
bool | verticalFlip | ||
) |
void TaleWorlds.TwoDimension.SpritePart.FillTextureCoordinates | ( | float[] | outUVs, |
int | uvsStartIndex, | ||
bool | horizontalFlip, | ||
bool | verticalFlip | ||
) |
|
get |
|
get |
|
get |
|
getset |
|
getset |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |