auto-generate Vector2 attributes