Wavelength
Privacy-focused, cross-platform, and open-source communication application
Loading...
Searching...
No Matches
ImpactInfo Struct Reference

Structure holding information about a single impact effect on the sphere. More...

#include <floating_energy_sphere_widget.h>

Collaboration diagram for ImpactInfo:

Public Attributes

bool active = false
 Flag indicating if this impact slot is currently active.
 
QVector3D point = QVector3D(0, 0, 0)
 Point of impact in local sphere coordinates (normalized).
 
float start_time = -1.0f
 Time (from time_value_) when the impact started. -1.0f if inactive.
 

Detailed Description

Structure holding information about a single impact effect on the sphere.

Member Data Documentation

◆ active

bool ImpactInfo::active = false

Flag indicating if this impact slot is currently active.

◆ point

QVector3D ImpactInfo::point = QVector3D(0, 0, 0)

Point of impact in local sphere coordinates (normalized).

◆ start_time

float ImpactInfo::start_time = -1.0f

Time (from time_value_) when the impact started. -1.0f if inactive.


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