Skip to content

Commit

Permalink
Fix camera priority documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aceeri committed Dec 10, 2022
1 parent 6308041 commit 57da04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_render/src/camera/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub struct ComputedCameraValues {
pub struct Camera {
/// If set, this camera will render to the given [`Viewport`] rectangle within the configured [`RenderTarget`].
pub viewport: Option<Viewport>,
/// Cameras with a lower priority will be rendered before cameras with a higher priority.
/// Cameras with a higher priority will be rendered before cameras with a lower priority.
pub priority: isize,
/// If this is set to `true`, this camera will be rendered to its specified [`RenderTarget`]. If `false`, this
/// camera will not be rendered.
Expand Down

0 comments on commit 57da04c

Please sign in to comment.