MDLCamera
A point of view for rendering a 3D scene, along with a set of parameters describing an intended appearance for rendering.
Declaration
class MDLCameraOverview
Camera parameters include basic information—such as the projectionMatrix and fieldOfView properties—for use with any renderer, as well as attributes that model real-world cameras—such as the fStop and exposure properties—for use in a renderer based on realistic optical physics.
Topics
Managing Camera Position and Orientation
Managing Camera Perspective
projectionMatrixprojectionMDLCameraProjectionnearVisibilityDistancefarVisibilityDistancefieldOfViewray(to:forViewPort:)worldToMetersConversionScale
Modeling a Physical Lens
barrelDistortionfisheyeDistortionopticalVignettingchromaticAberrationfocalLengthfStopapertureBladeCountbokehKernel(withSize:)maximumCircleOfConfusionfocusDistanceshutterOpenInterval