Enums

Enumerations in the hitscan component enhance code readability by defining a set of named constants. Here’s how we use them:
E_HitscanDataSelection: Dictates the data source for a hitscan operation. Options include:
InitialConfigs: Uses initial configuration settings.Configs: Uses set of configurations inside the Component.Data Asset: Utilizes a pre-defined data asset.Params: Uses a structure for passing parameters to theOnPerformHitscanevent.
E_HitscanPattern: Determines the pattern of hitscan shots:
Random: Fires hitscans in a random pattern.Fixed: Uses a predetermined, consistent pattern.Spread: Procedurally distributes hitscans with some randomization.Horizontal: Limits scans to a horizontal trajectory.
Last updated