Skip to main content

IPixelPerfectCameraInternalMethods

Trait IPixelPerfectCameraInternalMethods 

Source
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§

Source

fn ctor(self, component: impl Into<IPixelPerfectCamera_Interface>)

.ctor(crate::unity_engine::experimental::rendering::universal::ipixelperfectcamera_interface::IPixelPerfectCamera_Interface) overload

Source

fn on_before_serialize(self)

OnBeforeSerialize() overload

Source

fn on_after_deserialize(self)

OnAfterDeserialize() overload

Source

fn calculate_camera_properties( self, screen_width: impl Into<i32>, screen_height: impl Into<i32>, )

CalculateCameraProperties(i32, i32) overload

Source

fn calculate_final_blit_pixel_rect( self, screen_width: impl Into<i32>, screen_height: impl Into<i32>, ) -> Rect

CalculateFinalBlitPixelRect(i32, i32) overload

Source

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§

Source§

impl<__T: IPixelPerfectCameraInternal> IPixelPerfectCameraInternalMethods for __T

Available on crate feature unity_engine-experimental-rendering-universal-pixelperfectcamerainternal only.