Impact Interaction System API
|
Holds all data and code needed to perform an interaction that may persist over a length of time, such as sliding and rolling. More...
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... | |
Holds all data and code needed to perform an interaction that may persist over a length of time, such as sliding and rolling.
void Impact.Interactions.IContinuousInteractionResult.FixedUpdate | ( | ) |
Update anything that needs to be updated.
Implemented in Impact.Interactions.Audio.AudioInteractionResult, Impact.Interactions.Decals.DecalInteractionResult, and Impact.Interactions.Particles.ParticleInteractionResult.
void Impact.Interactions.IContinuousInteractionResult.KeepAlive | ( | IInteractionResult | newResult | ) |
Update the result and ensure it stays alive.
newResult | The updated result. |
Implemented in Impact.Interactions.Audio.AudioInteractionResult, Impact.Interactions.Decals.DecalInteractionResult, and Impact.Interactions.Particles.ParticleInteractionResult.
|
get |
Is this result still alive and should continue being updated?
Implemented in Impact.Interactions.Audio.AudioInteractionResult, Impact.Interactions.Decals.DecalInteractionResult, and Impact.Interactions.Particles.ParticleInteractionResult.
|
getset |
A unique key used to identify this result.
Implemented in Impact.Interactions.Audio.AudioInteractionResult, Impact.Interactions.Decals.DecalInteractionResult, and Impact.Interactions.Particles.ParticleInteractionResult.