M&B: Bannerlord 1.3.4
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.TwoDimension.SpritePart Class Reference

Public Member Functions

 SpritePart (string name, SpriteCategory category, int width, int height)
 
void UpdateInitValues ()
 

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]
 

Constructor & Destructor Documentation

◆ SpritePart()

TaleWorlds.TwoDimension.SpritePart.SpritePart ( string name,
SpriteCategory category,
int width,
int height )

Member Function Documentation

◆ UpdateInitValues()

void TaleWorlds.TwoDimension.SpritePart.UpdateInitValues ( )

Property Documentation

◆ Name

string TaleWorlds.TwoDimension.SpritePart.Name
get

◆ Width

int TaleWorlds.TwoDimension.SpritePart.Width
get

◆ Height

int TaleWorlds.TwoDimension.SpritePart.Height
get

◆ SheetID

int TaleWorlds.TwoDimension.SpritePart.SheetID
getset

◆ SheetX

int TaleWorlds.TwoDimension.SpritePart.SheetX
getset

◆ SheetY

int TaleWorlds.TwoDimension.SpritePart.SheetY
getset

◆ MinU

float TaleWorlds.TwoDimension.SpritePart.MinU
get

◆ MinV

float TaleWorlds.TwoDimension.SpritePart.MinV
get

◆ MaxU

float TaleWorlds.TwoDimension.SpritePart.MaxU
get

◆ MaxV

float TaleWorlds.TwoDimension.SpritePart.MaxV
get

◆ SheetWidth

int TaleWorlds.TwoDimension.SpritePart.SheetWidth
get

◆ SheetHeight

int TaleWorlds.TwoDimension.SpritePart.SheetHeight
get

◆ Texture

Texture TaleWorlds.TwoDimension.SpritePart.Texture
get

◆ Category

SpriteCategory TaleWorlds.TwoDimension.SpritePart.Category
get