Class Sprite
- Namespace
- TaleWorlds.TwoDimension
- Assembly
- TaleWorlds.TwoDimension.dll
public abstract class Sprite
- Inheritance
-
Sprite
- Derived
- Inherited Members
Constructors
Sprite(string, int, int)
protected Sprite(string name, int width, int height)
Parameters
Fields
CachedDrawData
protected SpriteDrawData CachedDrawData
Field Value
CachedDrawObject
protected DrawObject2D CachedDrawObject
Field Value
Properties
Height
public int Height { get; }
Property Value
Name
public string Name { get; }
Property Value
Texture
public abstract Texture Texture { get; }
Property Value
Width
public int Width { get; }
Property Value
Methods
GetArrays(SpriteDrawData)
protected abstract DrawObject2D GetArrays(SpriteDrawData spriteDrawData)
Parameters
spriteDrawData
SpriteDrawData
Returns
GetScaleToUse(float, float, float)
public abstract float GetScaleToUse(float width, float height, float scale)
Parameters
Returns
ToString()
public override string ToString()
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).