Struct BoundedQuadMaterial
- Namespace
- RichHudFramework.UI.Rendering
- Assembly
- RichHudClient.dll
Defines the visual properties for rendering a quad where the texture coordinates are axis-aligned and defined by a bounding box (Min/Max). This is optimized for standard sprites or full textures without distortion.
public struct BoundedQuadMaterial
Fields
Default
public static readonly BoundedQuadMaterial Default
Field Value
bbColor
The color tint applied to the quad. Expected format is Normalized Linear RGB.
public Vector4 bbColor
Field Value
texBounds
Defines the region of the texture to be used (UV Min/Max). Determines the scale and aspect ratio of the texture as rendered.
public BoundingBox2 texBounds
Field Value
textureID
The unique identifier of the texture to be applied.
public MyStringId textureID