![]() |
VR-Forces Developer's Guide
|
Struct to hold hit zone visualization data for use with QVariant.
Public Member Functions | |
| DtHitZoneUiEventData ()=default | |
| DtHitZoneUiEventData (DtRwHitZone *hitZone, const HitZoneColor &color, DtVector dimensions, DtVector offset, bool isSelected=false) | |
| DtHitZoneUiEventData (const DtHitZoneUiEventData &other)=default | |
| DtHitZoneUiEventData & | operator= (const DtHitZoneUiEventData &other)=default |
| bool | operator== (const DtHitZoneUiEventData &other) const |
| bool | operator!= (const DtHitZoneUiEventData &other) const |
Public Attributes | |
| DtRwHitZone * | myHitZone = nullptr |
| HitZoneColor | myColor = {0.0f, 0.0f, 0.0f, 0.0f} |
| DtVector | myNewDimensions = DtVector::zero() |
| DtVector | myNewOffset = DtVector::zero() |
| bool | myIsSelected = false |
|
default |
Default constructor.
|
inline |
Constructor with parameters.
|
default |
Copy constructor.
|
default |
Assignment operator.
|
inline |
Equality operator.
References myHitZone.
|
inline |
Inequality operator.
| DtRwHitZone* DtHitZoneUiEventData::myHitZone = nullptr |
Pointer to the hit zone (not owned by this struct)
Referenced by operator==().
| HitZoneColor DtHitZoneUiEventData::myColor = {0.0f, 0.0f, 0.0f, 0.0f} |
Color for hit zone visualization.
| DtVector DtHitZoneUiEventData::myNewDimensions = DtVector::zero() |
| DtVector DtHitZoneUiEventData::myNewOffset = DtVector::zero() |
| bool DtHitZoneUiEventData::myIsSelected = false |