Entity clipboard.
Allows entities to be copied and pasted.
Entities may be copied once and pasted multiple times. Entities may be removed from the virtual world after being copied. Copying an entity also copies all its descendants in the hierarchy.
Constructor.
The virtual world.
Whether the clipboard is empty.
Clears the clipboard.
Copies a single entity.
The entity.
Copies multiple entities.
The list of entities to be copied.
Pastes all copied entities.
The list of duplicated entities, corresponding to the entities that were copied.
The descendants of the copied entities are not returned.
Entity clipboard.
Allows entities to be copied and pasted.
Remarks
Entities may be copied once and pasted multiple times. Entities may be removed from the virtual world after being copied. Copying an entity also copies all its descendants in the hierarchy.