Struct TextureExtract.SheetSprite ​
Namespace: ValveResourceFormat.IO
Assembly: ValveResourceFormat.dll
A sprite the sheet packs: the rectangle holding its pixels, the bounds of the image it was cut from, and whether the sheet kept nothing of that image outside those pixels.
csharp
public readonly record struct TextureExtract.SheetSprite : IEquatable<TextureExtract.SheetSprite>Implements ​
IEquatable<TextureExtract.SheetSprite>
Constructors ​
SheetSprite(SKRectI, SKRectI, bool) ​
A sprite the sheet packs: the rectangle holding its pixels, the bounds of the image it was cut from, and whether the sheet kept nothing of that image outside those pixels.
csharp
public SheetSprite(SKRectI Pixels, SKRectI Image, bool Cropped)Parameters ​
Pixels SKRectI
Image SKRectI
Cropped bool
Properties ​
Cropped ​
csharp
public bool Cropped { get; init; }Property Value ​
Image ​
csharp
public SKRectI Image { get; init; }Property Value ​
Pixels ​
csharp
public SKRectI Pixels { get; init; }
