Impact Interaction System API
Impact.Interactions.IContinuousInteractionResult Interface Reference

Holds all data and code needed to perform an interaction that may persist over a length of time, such as sliding and rolling. More...

Inheritance diagram for Impact.Interactions.IContinuousInteractionResult:
Impact.Interactions.IInteractionResult Impact.Interactions.Audio.AudioInteractionResult Impact.Interactions.Decals.DecalInteractionResult Impact.Interactions.Particles.ParticleInteractionResult

Public Member Functions

void FixedUpdate ()
 Update anything that needs to be updated. More...
 
void KeepAlive (IInteractionResult newResult)
 Update the result and ensure it stays alive. More...
 
- Public Member Functions inherited from Impact.Interactions.IInteractionResult
void Process (IImpactObject parent)
 Perform the necessary tasks to display the results of the interaction, such as playing audio or emitting particle effects. More...
 

Properties

long Key [get, set]
 A unique key used to identify this result. More...
 
bool IsAlive [get]
 Is this result still alive and should continue being updated? More...
 
- Properties inherited from Impact.Interactions.IInteractionResult
bool IsValid [get]
 Does the result contain any useful data? More...
 

Detailed Description

Holds all data and code needed to perform an interaction that may persist over a length of time, such as sliding and rolling.

Member Function Documentation

◆ FixedUpdate()

void Impact.Interactions.IContinuousInteractionResult.FixedUpdate ( )

◆ KeepAlive()

void Impact.Interactions.IContinuousInteractionResult.KeepAlive ( IInteractionResult  newResult)

Update the result and ensure it stays alive.

Parameters
newResultThe updated result.

Implemented in Impact.Interactions.Audio.AudioInteractionResult, Impact.Interactions.Decals.DecalInteractionResult, and Impact.Interactions.Particles.ParticleInteractionResult.

Property Documentation

◆ IsAlive

bool Impact.Interactions.IContinuousInteractionResult.IsAlive
get

◆ Key

long Impact.Interactions.IContinuousInteractionResult.Key
getset