public Entity InstantiatePrefab(PrefabResource prefab, Vec3 pos, Quat rot, float scale) { int entity_id = instantiatePrefab(instance_, prefab.__Instance, pos, rot, scale); return(getEntity(instance_, entity_id)); }
extern static int instantiatePrefab(IntPtr instance, System.IntPtr prefab, Vec3 pos, Quat rot, float scale);
extern static int instantiatePrefab(IntPtr universe, IntPtr resource, Vec3 pos, Quat rot, float scale);
extern static void setLocalRotation(IntPtr instance, int entity, Quat rot);
public void SetRotation(Quat rot) { setRotation(instance_, entity_Id_, rot); }
public void SetTransform(Vec3 pos, Quat rot, float scale) { setTransform(instance_, entity_Id_, pos, rot, scale); }
extern static void setTransform(IntPtr instance, int entity, Vec3 pos, Quat rot, float scale);