JobModifierGroup.IOnUpdate.

JobModifierGroup.

OnUpdate(JobHandle) Method

Summary

A job modifier which runs after each iteration of an update.

Syntax

JobHandle OnUpdate(JobHandle dependsOn = null)

Remarks

If multiple updates occur in a row due to the FlexiMotion.FlexiMotionRuntime.UpdatesPerSecond, this modifier will run for each one (unlike FlexiMotion.Modifiers.JobModifierGroup.IPostUpdate).

Parameters

Name Type Description
dependsOn JobHandle

Return Value

Type Description
JobHandle