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

Marker + filter data for a trigger-volume entity. More...

#include <TriggerVolume.hpp>

Public Attributes

uint32_t layerMask = 0xFFFFFFFFu
 Bitmask of entity "layers" this trigger accepts.
bool fireOnPredictedClient = false
 If false (default), client-side prediction does NOT emit local events — only the server's authoritative emission applies (state changes are then replicated normally).

Detailed Description

Marker + filter data for a trigger-volume entity.

Member Data Documentation

◆ fireOnPredictedClient

bool TriggerVolume::fireOnPredictedClient = false

If false (default), client-side prediction does NOT emit local events — only the server's authoritative emission applies (state changes are then replicated normally).

Set to true for triggers whose events drive purely-local UI feedback (e.g. "entering capture zone" banner) and don't affect simulation state.

◆ layerMask

uint32_t TriggerVolume::layerMask = 0xFFFFFFFFu

Bitmask of entity "layers" this trigger accepts.

An entity must have at least one bit in common with layerMask to generate events. Default 0xFFFFFFFF = accept all layers.


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