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
bbColor
The color tint applied to the quad. Expected format is Normalized Linear RGB.
public Vector4 bbColor
Field Value
texCoords
The normalized texture coordinates (UVs) for the four corners of the quad.
public FlatQuad texCoords
Field Value
textureID
The unique identifier of the texture to be applied.
public MyStringId textureID