A buffer for entity commands. You can use it to apply the commands to a ut.World.
at a later time. You can also use it to apply the commands multiple times
in order to perform a complex operation or build up a complex set of reusable entities.
You should only need to create an EntityCommandBuffer manually in special
use cases such as recording a command buffer in order to play it back multiple times.
You can use an EntityCommandBuffer much as you would a ut.World, but the
entities that {@link ut.EntityCommandBuffer.CreateDeferredEntity} and related methods return are
"deferred" entities that are only valid to be passed to EntityCommandBuffer.
After playback, you can obtain the real entities by passing a deferred entity to {@link ut.EntityCommandBuffer.TranslateDeferredEntity}.
A buffer for entity commands. You can use it to apply the commands to a ut.World. at a later time. You can also use it to apply the commands multiple times in order to perform a complex operation or build up a complex set of reusable entities. You should only need to create an EntityCommandBuffer manually in special use cases such as recording a command buffer in order to play it back multiple times.
You can use an EntityCommandBuffer much as you would a ut.World, but the entities that {@link ut.EntityCommandBuffer.CreateDeferredEntity} and related methods return are "deferred" entities that are only valid to be passed to EntityCommandBuffer. After playback, you can obtain the real entities by passing a deferred entity to {@link ut.EntityCommandBuffer.TranslateDeferredEntity}.