group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
CrosshairStyle Struct Reference

Crosshair appearance parameters. More...

#include <HudTypes.hpp>

Collaboration diagram for CrosshairStyle:
[legend]

Public Attributes

float gap = 3.f
 Gap from center to start of each line (pixels).
float length = 6.f
 Length of each crosshair arm (pixels).
float thickness = 2.f
 Line thickness (pixels).
HudColor color {0.f, 1.f, 0.f, 0.85f}
 Default green.
bool dot = true
 Draw center dot.

Detailed Description

Crosshair appearance parameters.

Member Data Documentation

◆ color

HudColor CrosshairStyle::color {0.f, 1.f, 0.f, 0.85f}

Default green.

◆ dot

bool CrosshairStyle::dot = true

Draw center dot.

◆ gap

float CrosshairStyle::gap = 3.f

Gap from center to start of each line (pixels).

◆ length

float CrosshairStyle::length = 6.f

Length of each crosshair arm (pixels).

◆ thickness

float CrosshairStyle::thickness = 2.f

Line thickness (pixels).


The documentation for this struct was generated from the following file: