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

Class that is responsible for seeing objects and geometry. It checks, if object is inside visibility area and filters out unwanted objects and geometry. More...

Inheritance diagram for Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GameObjectTargetVisibilityProcessor:
Plugins.GeometricVision.TargetingSystem.Code.Interfaces.ITargetVisibilityProcessor

Public Member Functions

void UpdateVisibility (bool useBounds, GV_TargetingSystem targetingSystem, bool forceUpdate)
 Updates visibility of the objects in the eye and processor/manager More...
 
NativeArray< GeometryDataModels.EdgeGetSeenEdges ()
 Currently unavailable More...
 
void UpdateVisibility (bool useBounds, GV_TargetingSystem gvTargetingSystem, bool forceUpdate)
 Updates targets source game object or entity visibilities. Only to be used in case you need to get updated information for target searches like GetTargets or Update targets from GV_TargetingSystem component. Normally this is done automatically and only needs to be manually invoked if waiting for a frame is not an option. More...
 
NativeArray< GeometryDataModels.EdgeGetSeenEdges ()
 Currently unavailable More...
 

Properties

int Id [get, set]
 
TargetingSystemsRunner Runner [get, set]
 
List< GeometryDataModels.GeoInfoSeenGeoInfos [get, set]
 
- Properties inherited from Plugins.GeometricVision.TargetingSystem.Code.Interfaces.ITargetVisibilityProcessor
int Id [get, set]
 

Detailed Description

Class that is responsible for seeing objects and geometry. It checks, if object is inside visibility area and filters out unwanted objects and geometry.

Usage: Add GV_TargetingSystem component to object you want it to. The component will handle the rest. Component has list of geometry types. These are used to see certain type of objects and clicking the targeting option from the inspector UI the user can add option to find the closest element of this type.

Member Function Documentation

◆ GetSeenEdges()

NativeArray< GeometryDataModels.Edge > Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GameObjectTargetVisibilityProcessor.GetSeenEdges ( )

◆ UpdateVisibility()

void Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GameObjectTargetVisibilityProcessor.UpdateVisibility ( bool  useBounds,
GV_TargetingSystem  targetingSystem,
bool  forceUpdate 
)

Updates visibility of the objects in the eye and processor/manager

Implements Plugins.GeometricVision.TargetingSystem.Code.Interfaces.ITargetVisibilityProcessor.

Property Documentation

◆ Id

int Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GameObjectTargetVisibilityProcessor.Id
getset

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