Impact Interaction System API
Impact.Interactions.ImpactInteractionBase Class Referenceabstract

Base ScriptableObject implementation of the IImpactMaterialInteraction interface. More...

Inheritance diagram for Impact.Interactions.ImpactInteractionBase:
Impact.Interactions.IImpactInteraction Impact.Interactions.Audio.ImpactAudioInteraction Impact.Interactions.Decals.ImpactDecalInteraction Impact.Interactions.Particles.ImpactParticleInteraction

Public Member Functions

abstract IInteractionResult GetInteractionResult< T > (T interactionData)
 Process the given interaction data and return an interaction result. More...
 
abstract void Preload ()
 Preload any needed data or objects, such as object pools. More...
 
IInteractionResult GetInteractionResult< T > (T interactionData)
 Process the given interaction data and return an interaction result. More...
 
void Preload ()
 Preload any needed data or objects, such as object pools. More...
 

Detailed Description

Base ScriptableObject implementation of the IImpactMaterialInteraction interface.

Member Function Documentation

◆ GetInteractionResult< T >()

abstract IInteractionResult Impact.Interactions.ImpactInteractionBase.GetInteractionResult< T > ( interactionData)
pure virtual

Process the given interaction data and return an interaction result.

Parameters
interactionDataThe data to process.
Returns
An interaction result.

Implements Impact.Interactions.IImpactInteraction.

Implemented in Impact.Interactions.Audio.ImpactAudioInteraction, Impact.Interactions.Decals.ImpactDecalInteraction, and Impact.Interactions.Particles.ImpactParticleInteraction.

Type Constraints
T :IInteractionData 

◆ Preload()

abstract void Impact.Interactions.ImpactInteractionBase.Preload ( )
pure virtual