pub trait IPixelPerfectCameraInternalMethods: IPixelPerfectCameraInternal {
// Provided methods
fn ctor(self, component: impl Into<IPixelPerfectCamera_Interface>) { ... }
fn on_before_serialize(self) { ... }
fn on_after_deserialize(self) { ... }
fn calculate_camera_properties(
self,
screen_width: impl Into<i32>,
screen_height: impl Into<i32>,
) { ... }
fn calculate_final_blit_pixel_rect(
self,
screen_width: impl Into<i32>,
screen_height: impl Into<i32>,
) -> Rect { ... }
fn correct_cinemachine_ortho_size(
self,
target_ortho_size: impl Into<f32>,
) -> f32 { ... }
}Provided Methods§
Sourcefn ctor(self, component: impl Into<IPixelPerfectCamera_Interface>)
fn ctor(self, component: impl Into<IPixelPerfectCamera_Interface>)
.ctor(crate::unity_engine::experimental::rendering::universal::ipixelperfectcamera_interface::IPixelPerfectCamera_Interface) overload
Sourcefn on_before_serialize(self)
fn on_before_serialize(self)
OnBeforeSerialize() overload
Sourcefn on_after_deserialize(self)
fn on_after_deserialize(self)
OnAfterDeserialize() overload
Sourcefn calculate_camera_properties(
self,
screen_width: impl Into<i32>,
screen_height: impl Into<i32>,
)
fn calculate_camera_properties( self, screen_width: impl Into<i32>, screen_height: impl Into<i32>, )
CalculateCameraProperties(i32, i32) overload
Sourcefn calculate_final_blit_pixel_rect(
self,
screen_width: impl Into<i32>,
screen_height: impl Into<i32>,
) -> Rect
fn calculate_final_blit_pixel_rect( self, screen_width: impl Into<i32>, screen_height: impl Into<i32>, ) -> Rect
CalculateFinalBlitPixelRect(i32, i32) overload
Sourcefn correct_cinemachine_ortho_size(
self,
target_ortho_size: impl Into<f32>,
) -> f32
fn correct_cinemachine_ortho_size( self, target_ortho_size: impl Into<f32>, ) -> f32
CorrectCinemachineOrthoSize(f32) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IPixelPerfectCameraInternal> IPixelPerfectCameraInternalMethods for __T
Available on crate feature
unity_engine-experimental-rendering-universal-pixelperfectcamerainternal only.