set camera parameters when proxy is created.