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
bbColor
The color tint applied to the polygon. Expected format is Normalized Linear RGB.
public Vector4 bbColor
Field Value
texBounds
The overall UV bounds of the texture on the polygon.
public BoundingBox2 texBounds
Field Value
texCoords
A list of normalized texture coordinates (UVs) corresponding 1:1 with the polygon's vertices.
public List<Vector2> texCoords
Field Value
textureID
The unique identifier of the texture to be applied.
public MyStringId textureID