@@ -158,7 +158,7 @@ impl Default for SubCameraView {
158158}
159159
160160/// Information about the current [`RenderTarget`].
161- #[ derive( Debug , Clone ) ]
161+ #[ derive( Debug , Reflect , Clone ) ]
162162pub struct RenderTargetInfo {
163163 /// The physical size of this render target (in physical pixels, ignoring scale factor).
164164 pub physical_size : UVec2 ,
@@ -179,7 +179,7 @@ impl Default for RenderTargetInfo {
179179}
180180
181181/// Holds internally computed [`Camera`] values.
182- #[ derive( Default , Debug , Clone ) ]
182+ #[ derive( Default , Debug , Reflect , Clone ) ]
183183pub struct ComputedCameraValues {
184184 pub clip_from_view : Mat4 ,
185185 pub target_info : Option < RenderTargetInfo > ,
@@ -355,7 +355,6 @@ pub struct Camera {
355355 /// camera will not be rendered.
356356 pub is_active : bool ,
357357 /// Computed values for this camera, such as the projection matrix and the render target size.
358- #[ reflect( ignore, clone) ]
359358 pub computed : ComputedCameraValues ,
360359 // todo: reflect this when #6042 lands
361360 /// The [`CameraOutputMode`] for this camera.
0 commit comments