set camera method