Skip to main content

IIPixelPerfectCamera_InterfaceMethods

Trait IIPixelPerfectCamera_InterfaceMethods 

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

Source

fn get_assets_ppu(self) -> i32

get_assetsPPU() overload

Source

fn set_assets_ppu(self, value: impl Into<i32>)

set_assetsPPU(i32) overload

Source

fn get_ref_resolution_x(self) -> i32

get_refResolutionX() overload

Source

fn set_ref_resolution_x(self, value: impl Into<i32>)

set_refResolutionX(i32) overload

Source

fn get_ref_resolution_y(self) -> i32

get_refResolutionY() overload

Source

fn set_ref_resolution_y(self, value: impl Into<i32>)

set_refResolutionY(i32) overload

Source

fn get_upscale_rt(self) -> bool

get_upscaleRT() overload

Source

fn set_upscale_rt(self, value: impl Into<bool>)

set_upscaleRT(bool) overload

Source

fn get_pixel_snapping(self) -> bool

get_pixelSnapping() overload

Source

fn set_pixel_snapping(self, value: impl Into<bool>)

set_pixelSnapping(bool) overload

Source

fn get_crop_frame_x(self) -> bool

get_cropFrameX() overload

Source

fn set_crop_frame_x(self, value: impl Into<bool>)

set_cropFrameX(bool) overload

Source

fn get_crop_frame_y(self) -> bool

get_cropFrameY() overload

Source

fn set_crop_frame_y(self, value: impl Into<bool>)

set_cropFrameY(bool) overload

Source

fn get_stretch_fill(self) -> bool

get_stretchFill() overload

Source

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§

Source§

impl<__T: IIPixelPerfectCamera_Interface> IIPixelPerfectCamera_InterfaceMethods for __T

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