Struct TriMaterial
- Namespace
- RichHudFramework.UI.Rendering
- Assembly
- RichHudClient.dll
Defines the visual properties (texture, color, and UV mapping) for rendering a single triangle billboard.
public struct TriMaterial
Fields
Default
public static readonly TriMaterial Default
Field Value
bbColor
The color tint applied to the triangle vertices. Expected format is Normalized Linear RGB.
public Vector4 bbColor
Field Value
texCoords
The normalized texture coordinates (UVs) corresponding to the triangle's three vertices.
public Triangle texCoords
Field Value
textureID
The unique identifier of the texture to be applied.
public MyStringId textureID