Targeting System 2.0.0
Plugin for multipurpose targeting and visual effects.
|
Made to handle targeting logic. Usage: For new targeting behavior implement this interface and add it to the targeting systems list on the GeometryTargetingSystemsContainer component from GeometricVision component. More...
Public Member Functions | |
NativeArray< Target > | GetTargetsAsNativeArray (Vector3 rayLocation, Vector3 rayDirection, GV_TargetingSystem gvTargetingSystem, TargetingInstruction targetingInstruction) |
Gets targeting data More... | |
NativeSlice< Target > | GetTargetsAsNativeSlice (Vector3 rayLocation, Vector3 rayDirection, GV_TargetingSystem gvTargetingSystem, TargetingInstruction targetingInstruction) |
Gets targeting data from given point and direction. More... | |
JobHandle | GetTargetsJobHandle (GV_TargetingSystem gvTargetingSystem) |
Gets targeting data JobHandle for give targeting system in cases where the jobs needs to be completed before accessing containers. More... | |
List< Target > | GetTargets (Vector3 rayLocation, Vector3 rayDirection, GV_TargetingSystem gvTargetingSystem, TargetingInstruction targetingInstruction) |
Gets targeting data More... | |
bool | IsForEntities () |
For checking if is entity based /-system More... | |
Made to handle targeting logic. Usage: For new targeting behavior implement this interface and add it to the targeting systems list on the GeometryTargetingSystemsContainer component from GeometricVision component.
List< Target > Plugins.GeometricVision.TargetingSystem.Code.Interfaces.IGeoTargeting.GetTargets | ( | Vector3 | rayLocation, |
Vector3 | rayDirection, | ||
GV_TargetingSystem | gvTargetingSystem, | ||
TargetingInstruction | targetingInstruction | ||
) |
Gets targeting data
rayLocation | |
rayDirection | |
gvTargetingSystem | |
targetingInstruction |
Implemented in Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryLineTargeting, and Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryVertexTargeting.
NativeArray< Target > Plugins.GeometricVision.TargetingSystem.Code.Interfaces.IGeoTargeting.GetTargetsAsNativeArray | ( | Vector3 | rayLocation, |
Vector3 | rayDirection, | ||
GV_TargetingSystem | gvTargetingSystem, | ||
TargetingInstruction | targetingInstruction | ||
) |
Gets targeting data
rayLocation | |
rayDirection | |
gvTargetingSystem | |
targetingInstruction |
Implemented in Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryLineTargeting, Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryObjectTargeting, and Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryVertexTargeting.
NativeSlice< Target > Plugins.GeometricVision.TargetingSystem.Code.Interfaces.IGeoTargeting.GetTargetsAsNativeSlice | ( | Vector3 | rayLocation, |
Vector3 | rayDirection, | ||
GV_TargetingSystem | gvTargetingSystem, | ||
TargetingInstruction | targetingInstruction | ||
) |
Gets targeting data from given point and direction.
rayLocation | Point where to get data from |
rayDirection | |
gvTargetingSystem | |
targetingInstruction | Instruction from targeting component to descibe what kind of targeting data to fetch |
Implemented in Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryLineTargeting, Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryObjectTargeting, and Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryVertexTargeting.
JobHandle Plugins.GeometricVision.TargetingSystem.Code.Interfaces.IGeoTargeting.GetTargetsJobHandle | ( | GV_TargetingSystem | gvTargetingSystem | ) |
Gets targeting data JobHandle for give targeting system in cases where the jobs needs to be completed before accessing containers.
System needs to implement Unity's job system. Otherwise not implemented exception will occur
gvTargetingSystem | Given targeting system |
Implemented in Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryLineTargeting, Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryObjectTargeting, and Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryVertexTargeting.
bool Plugins.GeometricVision.TargetingSystem.Code.Interfaces.IGeoTargeting.IsForEntities | ( | ) |
For checking if is entity based /-system
Implemented in Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryLineTargeting, Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryObjectTargeting, and Plugins.GeometricVision.TargetingSystem.Code.GameObjects.ImplementationsGameObjects.GeometryVertexTargeting.