added option to add custom Camera to event to ray method