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

Hitscan energy beam (main glowing quad). More...

#include <ParticleTypes.hpp>

Public Attributes

glm::vec3 origin
 Muzzle world position.
 
float radius
 Half-width (~1.5 units).
 
glm::vec3 hitPos
 Impact world position.
 
float lifetime
 Fades quadratically over ~0.12 s.
 
glm::vec4 coreColor
 Cyan-white: {0.5, 0.9, 1.0, 1.0}.
 
glm::vec4 edgeColor
 Deep blue: {0.0, 0.3, 0.8, 0.0}.
 

Detailed Description

Hitscan energy beam (main glowing quad).

Member Data Documentation

◆ coreColor

glm::vec4 HitscanBeam::coreColor

Cyan-white: {0.5, 0.9, 1.0, 1.0}.

◆ edgeColor

glm::vec4 HitscanBeam::edgeColor

Deep blue: {0.0, 0.3, 0.8, 0.0}.

◆ hitPos

glm::vec3 HitscanBeam::hitPos

Impact world position.

◆ lifetime

float HitscanBeam::lifetime

Fades quadratically over ~0.12 s.

◆ origin

glm::vec3 HitscanBeam::origin

Muzzle world position.

◆ radius

float HitscanBeam::radius

Half-width (~1.5 units).


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