Struct TextureExtract.SheetSprite ​
Namespace: ValveResourceFormat.IO
Assembly: ValveResourceFormat.dll
A sprite the sheet packs: the Pixels rectangle, the Image bounds it was cut from, and whether the sheet kept nothing of the image outside 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 Pixels rectangle, the Image bounds it was cut from, and whether the sheet kept nothing of the image outside 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 ​
bool
Image ​
csharp
public SKRectI Image { get; init; }Property Value ​
Pixels ​
csharp
public SKRectI Pixels { get; init; }
