Adds an entity to scene with an initial position
.
A handle to the new entity will be assigned to &out
.
This function returns the new entity ID.
Example of usage:
// Adds a character and assign some custom data to it ETHEntity @character; AddEntity("knight.ent", pos, @character); character.SetFloat("speed", 100.0f); character.SetUInt("strength", 38);