Targeting System 2.0.0
Plugin for multipurpose targeting and visual effects.
Plugins.GeometricVision.TargetingSystem.Code.TargetingSystemsRunner Class Reference

Contains all the added GV_TargetingSystem components and Processors. Code is run every frame updating all the required sub systems that makes the getting targets possible. More...

Inheritance diagram for Plugins.GeometricVision.TargetingSystem.Code.TargetingSystemsRunner:

Public Member Functions

void InitAudioPoolingSystem (int audioPoolSizeIn)
 
void Update ()
 
void SetVisibilityForTargets (int targetingSystemOrderingIndex, GV_TargetingSystem gvTargetingSystem)
 
GetProcessor< T > ()
 Gets the processor of given type from the runner. More...
 
void RemoveGameObjectProcessor< T > ()
 
void AddGameObjectTargetCreator< T > ()
 

Properties

TargetingSysteSharedMemory SharedTargetingMemory = new TargetingSysteSharedMemory() [get, set]
 
HashSet< GV_TargetingSystemTargetingSystems [get, set]
 
HashSet< ITargetCreatorProcessors [get]
 
AudioPoolManager AudioPoolManager [get, set]
 
int AudioPoolSize [get, set]
 

Detailed Description

Contains all the added GV_TargetingSystem components and Processors. Code is run every frame updating all the required sub systems that makes the getting targets possible.

Member Function Documentation

◆ AddGameObjectTargetCreator< T >()

void Plugins.GeometricVision.TargetingSystem.Code.TargetingSystemsRunner.AddGameObjectTargetCreator< T > ( )
Type Constraints
T :ITargetCreator 

◆ GetProcessor< T >()

T Plugins.GeometricVision.TargetingSystem.Code.TargetingSystemsRunner.GetProcessor< T > ( )

Gets the processor of given type from the runner.

Template Parameters
T
Returns

◆ SetVisibilityForTargets()

void Plugins.GeometricVision.TargetingSystem.Code.TargetingSystemsRunner.SetVisibilityForTargets ( int  targetingSystemOrderingIndex,
GV_TargetingSystem  gvTargetingSystem 
)

Parameters
targetingSystemOrderingIndexthe targetingSystemOrderingIndex for the system. Use zero, if calling the functions separately. Due to internal optimizations the first one on the list initiates the system. Using a zero value will force the runner to initialize processor for the current function call.

However this is not needed if one of the systems has already initiated the visibility processor for the current frame.

Parameters
gvTargetingSystem

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