Table of Contents

Struct PolyMaterial

Namespace
RichHudFramework.UI.Rendering
Assembly
RichHudClient.dll

Defines the visual properties for rendering arbitrary N-sided polygons, including a list of specific texture coordinates matching the polygon's vertices.

public struct PolyMaterial

Fields

Default

public static readonly PolyMaterial Default

Field Value

PolyMaterial

bbColor

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

public Vector4 bbColor

Field Value

Vector4

texBounds

The overall UV bounds of the texture on the polygon.

public BoundingBox2 texBounds

Field Value

BoundingBox2

texCoords

A list of normalized texture coordinates (UVs) corresponding 1:1 with the polygon's vertices.

public List<Vector2> texCoords

Field Value

List<Vector2>

textureID

The unique identifier of the texture to be applied.

public MyStringId textureID

Field Value

MyStringId