From the course: Unity Medical Visualization: 03 Deployment and Usability
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Configuring textures - Unity Tutorial
From the course: Unity Medical Visualization: 03 Deployment and Usability
Configuring textures
- In this section, I'm going to be exploring how to create zoom functionality. Specifically I want to be able to roll up or down on the middle mouse wheel and zoom the camera in or out, closer or further from the heart. To create this I'm going to be adjusting the input access control. Adding some additional lines to create our zoom functionality. Now it's not strictly speaking a zoom feature. Because a zoom feature requires that the camera remains stationary and we change the focal length of the lens to bring an object closer or further from view. What we're actually going to be doing is changing the position of the camera, moving it nearer or further. We've going to be doing that by manipulating the radii, the circles surrounding the heart, to bring the camera closer and further. I'm going to jump to the script file here to make some changes to the code that we have. Here in input access control, I'm going to be…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.