Table of Contents

Struct QuadBoard

Namespace
RichHudFramework.UI.Rendering
Assembly
RichHudClient.dll

Defines the visual properties of a rectangular billboard, including its texture, color, texture coordinates, and skew.

public struct QuadBoard

Constructors

QuadBoard(MyStringId, BoundingBox2, Color, float)

public QuadBoard(MyStringId textureID, BoundingBox2 matFit, Color color, float skewRatio = 0)

Parameters

textureID MyStringId
matFit BoundingBox2
color Color
skewRatio float

QuadBoard(MyStringId, BoundingBox2, Vector4, float)

public QuadBoard(MyStringId textureID, BoundingBox2 matFit, Vector4 bbColor, float skewRatio = 0)

Parameters

textureID MyStringId
matFit BoundingBox2
bbColor Vector4
skewRatio float

Fields

Default

A default white, untextured quad definition.

public static readonly QuadBoard Default

Field Value

QuadBoard

materialData

Contains the underlying material data, including the Texture ID, UV bounds, and color tint.

public BoundedQuadMaterial materialData

Field Value

BoundedQuadMaterial

skewRatio

Defines the horizontal skew applied to the quad, transforming the rectangle into a parallelogram (rhombus). Useful for italicized styling or oblique geometric shapes.

public float skewRatio

Field Value

float