Table of Contents

Struct QuadMaterial

Namespace
RichHudFramework.UI.Rendering
Assembly
RichHudClient.dll

Defines the visual properties for rendering a quadrilateral using explicit texture coordinates for each corner, allowing for non-rectangular UV mappings (e.g., distortion or rotation).

public struct QuadMaterial

Fields

Default

public static readonly QuadMaterial Default

Field Value

QuadMaterial

bbColor

The color tint applied to the quad. Expected format is Normalized Linear RGB.

public Vector4 bbColor

Field Value

Vector4

texCoords

The normalized texture coordinates (UVs) for the four corners of the quad.

public FlatQuad texCoords

Field Value

FlatQuad

textureID

The unique identifier of the texture to be applied.

public MyStringId textureID

Field Value

MyStringId