Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

PhysicsWorld.TransformTweenMode.Sequential

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Transform tweens are calculated and written linearly on a single thread, likely the main-thread. This may be faster than using PhysicsWorld.TransformTweenMode.Parallel if the majority of the are not split across hierarchies so that they can be written in parallel. To further clarify, if most of the Transform are not interleaved across different hierarchies, this non-parallel (sequential) mode may be faster than PhysicsWorld.TransformTweenMode.Parallel, because it avoids the overhead of splitting and synchronizing work across multiple threads when there is not enough independent hierarchy work to parallelize efficiently.