Class BakedBitmap
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class BakedBitmap : IBitmap
- Inheritance
-
BakedBitmap
- Implements
-
- Inherited Members
-
- Extension Methods
-
Fields
Height
Field Value
- int
TexturePixels
public int[] TexturePixels
Field Value
- int[]
Width
Field Value
- int
Properties
Pixels
public int[] Pixels { get; }
Property Value
- int[]
Methods
GetPixel(int, int)
public SKColor GetPixel(int x, int y)
Parameters
x
int
y
int
Returns
- SKColor
GetPixelArgb(int, int)
public int GetPixelArgb(int x, int y)
Parameters
x
int
y
int
Returns
- int
GetPixelRel(float, float)
public SKColor GetPixelRel(float x, float y)
Parameters
x
float
y
float
Returns
- SKColor
GetPixelsTransformed(int, int)
public int[] GetPixelsTransformed(int rot = 0, int alpha = 100)
Parameters
rot
int
alpha
int
Returns
- int[]