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

Inherits TaleWorlds.TwoDimension.Sprite.

Public Member Functions

 SpriteGeneric (string name, SpritePart spritePart)
 
override float GetScaleToUse (float width, float height, float scale)
 
- Public Member Functions inherited from TaleWorlds.TwoDimension.Sprite
float GetScaleToUse (float width, float height, float scale)
 
override string ToString ()
 

Properties

override Texture Texture [get]
 
SpritePart SpritePart [get]
 
- Properties inherited from TaleWorlds.TwoDimension.Sprite
Texture Texture [get]
 
string Name [get]
 
int Width [get]
 
int Height [get]
 

Additional Inherited Members

- Protected Member Functions inherited from TaleWorlds.TwoDimension.Sprite
 Sprite (string name, int width, int height)
 
- Protected Attributes inherited from TaleWorlds.TwoDimension.Sprite
DrawObject2D CachedDrawObject
 
SpriteDrawData CachedDrawData
 

Constructor & Destructor Documentation

◆ SpriteGeneric()

TaleWorlds.TwoDimension.SpriteGeneric.SpriteGeneric ( string name,
SpritePart spritePart )

Member Function Documentation

◆ GetScaleToUse()

override float TaleWorlds.TwoDimension.SpriteGeneric.GetScaleToUse ( float width,
float height,
float scale )

Property Documentation

◆ Texture

override Texture TaleWorlds.TwoDimension.SpriteGeneric.Texture
get

◆ SpritePart

SpritePart TaleWorlds.TwoDimension.SpriteGeneric.SpritePart
get