pub trait IIPixelPerfectCamera_InterfaceMethods: IIPixelPerfectCamera_Interface {
Show 16 methods
// Provided methods
fn get_assets_ppu(self) -> i32 { ... }
fn set_assets_ppu(self, value: impl Into<i32>) { ... }
fn get_ref_resolution_x(self) -> i32 { ... }
fn set_ref_resolution_x(self, value: impl Into<i32>) { ... }
fn get_ref_resolution_y(self) -> i32 { ... }
fn set_ref_resolution_y(self, value: impl Into<i32>) { ... }
fn get_upscale_rt(self) -> bool { ... }
fn set_upscale_rt(self, value: impl Into<bool>) { ... }
fn get_pixel_snapping(self) -> bool { ... }
fn set_pixel_snapping(self, value: impl Into<bool>) { ... }
fn get_crop_frame_x(self) -> bool { ... }
fn set_crop_frame_x(self, value: impl Into<bool>) { ... }
fn get_crop_frame_y(self) -> bool { ... }
fn set_crop_frame_y(self, value: impl Into<bool>) { ... }
fn get_stretch_fill(self) -> bool { ... }
fn set_stretch_fill(self, value: impl Into<bool>) { ... }
}Provided Methods§
Sourcefn get_assets_ppu(self) -> i32
fn get_assets_ppu(self) -> i32
get_assetsPPU() overload
Sourcefn set_assets_ppu(self, value: impl Into<i32>)
fn set_assets_ppu(self, value: impl Into<i32>)
set_assetsPPU(i32) overload
Sourcefn get_ref_resolution_x(self) -> i32
fn get_ref_resolution_x(self) -> i32
get_refResolutionX() overload
Sourcefn set_ref_resolution_x(self, value: impl Into<i32>)
fn set_ref_resolution_x(self, value: impl Into<i32>)
set_refResolutionX(i32) overload
Sourcefn get_ref_resolution_y(self) -> i32
fn get_ref_resolution_y(self) -> i32
get_refResolutionY() overload
Sourcefn set_ref_resolution_y(self, value: impl Into<i32>)
fn set_ref_resolution_y(self, value: impl Into<i32>)
set_refResolutionY(i32) overload
Sourcefn get_upscale_rt(self) -> bool
fn get_upscale_rt(self) -> bool
get_upscaleRT() overload
Sourcefn set_upscale_rt(self, value: impl Into<bool>)
fn set_upscale_rt(self, value: impl Into<bool>)
set_upscaleRT(bool) overload
Sourcefn get_pixel_snapping(self) -> bool
fn get_pixel_snapping(self) -> bool
get_pixelSnapping() overload
Sourcefn set_pixel_snapping(self, value: impl Into<bool>)
fn set_pixel_snapping(self, value: impl Into<bool>)
set_pixelSnapping(bool) overload
Sourcefn get_crop_frame_x(self) -> bool
fn get_crop_frame_x(self) -> bool
get_cropFrameX() overload
Sourcefn set_crop_frame_x(self, value: impl Into<bool>)
fn set_crop_frame_x(self, value: impl Into<bool>)
set_cropFrameX(bool) overload
Sourcefn get_crop_frame_y(self) -> bool
fn get_crop_frame_y(self) -> bool
get_cropFrameY() overload
Sourcefn set_crop_frame_y(self, value: impl Into<bool>)
fn set_crop_frame_y(self, value: impl Into<bool>)
set_cropFrameY(bool) overload
Sourcefn get_stretch_fill(self) -> bool
fn get_stretch_fill(self) -> bool
get_stretchFill() overload
Sourcefn set_stretch_fill(self, value: impl Into<bool>)
fn set_stretch_fill(self, value: impl Into<bool>)
set_stretchFill(bool) 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: IIPixelPerfectCamera_Interface> IIPixelPerfectCamera_InterfaceMethods for __T
Available on crate feature
unity_engine-experimental-rendering-universal-ipixelperfectcamera_interface only.