We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf7d92 commit 2c95391Copy full SHA for 2c95391
crates/bevy_core_pipeline/src/core_2d/camera_2d.rs
@@ -22,6 +22,10 @@ pub struct Camera2d;
22
pub struct Camera2dBundle {
23
pub camera: Camera,
24
pub camera_render_graph: CameraRenderGraph,
25
+ /// Note: default value for `OrthographicProjection.near` is `0.0`
26
+ /// which makes objects on the screen plane invisible to 2D camera.
27
+ /// `Camera2dBundle::default()` sets `near` to negative value,
28
+ /// so be careful when initializing this field manually.
29
pub projection: OrthographicProjection,
30
pub visible_entities: VisibleEntities,
31
pub frustum: Frustum,
0 commit comments