DepthOfField

DepthOfField

  • mode : bevy_core_pipeline::dof::DepthOfFieldMode
  • focal_distance : f32
  • sensor_height : f32
  • aperture_f_stops : f32
  • max_circle_of_confusion_diameter : f32
  • max_depth : f32

Description

A component that enables a depth of field postprocessing effect when attached to a [Camera3d], simulating the focus of a camera lens.

Functions