Table of Contents

Struct CroppedBox

Namespace
RichHudFramework.UI.Rendering
Assembly
RichHudClient.dll

Represents a bounding box paired with a masking box. The mask is used to clip the rendering of the associated billboard, acting as a scissor rectangle.

public struct CroppedBox

Fields

bounds

The geometric bounds of the UI element to be drawn.

public BoundingBox2 bounds

Field Value

BoundingBox2

defaultMask

Represents an infinite bounding box, effectively disabling clipping when used as a mask.

public static readonly BoundingBox2 defaultMask

Field Value

BoundingBox2

mask

The bounds used to clip the element. Pixels outside this box will not be rendered. If null, no clipping is applied.

public BoundingBox2? mask

Field Value

BoundingBox2?