Skip to main content

Camera

Struct Camera 

Source
pub struct Camera(/* private fields */);
Expand description

IL2CPP class: UnityEngine.Camera Inherits: Behaviour

Implementations§

Source§

impl Camera

Source

pub fn base(self) -> Behaviour

Source§

impl Camera

Source§

impl Camera

Source

pub fn get_preview_culling_layer() -> i32

get_PreviewCullingLayer() overload

Source

pub fn calculate_projection_matrix_from_physical_properties_internal( focal_length: impl Into<f32>, sensor_size: impl Into<Vector2>, lens_shift: impl Into<Vector2>, near_clip: impl Into<f32>, far_clip: impl Into<f32>, gate_aspect: impl Into<f32>, gate_fit_mode: impl Into<Camera_GateFitMode>, ) -> Matrix4x4

CalculateProjectionMatrixFromPhysicalPropertiesInternal(*mutcrate::unity_engine::matrix4x4::Matrix4x4, f32, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2, f32, f32, f32, crate::unity_engine::camera::Camera_GateFitMode) overload

Source

pub fn calculate_projection_matrix_from_physical_properties( focal_length: impl Into<f32>, sensor_size: impl Into<Vector2>, lens_shift: impl Into<Vector2>, near_clip: impl Into<f32>, far_clip: impl Into<f32>, gate_fit_parameters: impl Into<Camera_GateFitParameters>, ) -> Matrix4x4

CalculateProjectionMatrixFromPhysicalProperties(*mutcrate::unity_engine::matrix4x4::Matrix4x4, f32, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2, f32, f32, crate::unity_engine::camera::Camera_GateFitParameters) overload

Source

pub fn focal_length_to_field_of_view( focal_length: impl Into<f32>, sensor_size: impl Into<f32>, ) -> f32

FocalLengthToFieldOfView(f32, f32) overload

Source

pub fn field_of_view_to_focal_length( field_of_view: impl Into<f32>, sensor_size: impl Into<f32>, ) -> f32

FieldOfViewToFocalLength(f32, f32) overload

Source

pub fn horizontal_to_vertical_field_of_view( horizontal_field_of_view: impl Into<f32>, aspect_ratio: impl Into<f32>, ) -> f32

HorizontalToVerticalFieldOfView(f32, f32) overload

Source

pub fn vertical_to_horizontal_field_of_view( vertical_field_of_view: impl Into<f32>, aspect_ratio: impl Into<f32>, ) -> f32

VerticalToHorizontalFieldOfView(f32, f32) overload

Source

pub fn get_main() -> Camera

get_main() overload

Source

pub fn get_current() -> Camera

get_current() overload

Source

pub fn get_all_cameras_count() -> i32

GetAllCamerasCount() overload

Source

pub fn get_all_cameras_impl(cam: impl Into<Array<Camera>>) -> i32

GetAllCamerasImpl(::unity::Array<crate::unity_engine::camera::Camera>) overload

Source

pub fn get_all_cameras() -> Array<Camera>

get_allCameras() overload

Source

pub fn get_all_cameras_2(cameras: impl Into<Array<Camera>>) -> i32

GetAllCameras(::unity::Array<crate::unity_engine::camera::Camera>) overload

Source

pub fn setup_current(cur: impl Into<Camera>)

SetupCurrent(crate::unity_engine::camera::Camera) overload

Source

pub fn fire_on_pre_cull(cam: impl Into<Camera>)

FireOnPreCull(crate::unity_engine::camera::Camera) overload

Source

pub fn fire_on_pre_render(cam: impl Into<Camera>)

FireOnPreRender(crate::unity_engine::camera::Camera) overload

Source

pub fn fire_on_post_render(cam: impl Into<Camera>)

FireOnPostRender(crate::unity_engine::camera::Camera) overload

Source

pub fn get_culling_parameters_internal( camera: impl Into<Camera>, stereo_aware: impl Into<bool>, managed_culling_parameters_size: impl Into<i32>, ) -> (bool, ScriptableCullingParameters)

GetCullingParameters_Internal(crate::unity_engine::camera::Camera, bool, *mutcrate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters, i32) overload

Source

pub fn calculate_projection_matrix_from_physical_properties_internal_injected( focal_length: impl Into<f32>, near_clip: impl Into<f32>, far_clip: impl Into<f32>, gate_aspect: impl Into<f32>, gate_fit_mode: impl Into<Camera_GateFitMode>, ) -> (Matrix4x4, Vector2, Vector2)

CalculateProjectionMatrixFromPhysicalPropertiesInternal_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4, f32, *mutcrate::unity_engine::vector2::Vector2, *mutcrate::unity_engine::vector2::Vector2, f32, f32, f32, crate::unity_engine::camera::Camera_GateFitMode) overload

Source§

impl Camera

Source

pub fn ctor_method_info() -> &'static MethodInfo

Source

pub fn get_near_clip_plane_method_info() -> &'static MethodInfo

Source

pub fn set_near_clip_plane_method_info() -> &'static MethodInfo

Source

pub fn get_far_clip_plane_method_info() -> &'static MethodInfo

Source

pub fn set_far_clip_plane_method_info() -> &'static MethodInfo

Source

pub fn get_field_of_view_method_info() -> &'static MethodInfo

Source

pub fn set_field_of_view_method_info() -> &'static MethodInfo

Source

pub fn get_rendering_path_method_info() -> &'static MethodInfo

Source

pub fn set_rendering_path_method_info() -> &'static MethodInfo

Source

pub fn get_actual_rendering_path_method_info() -> &'static MethodInfo

Source

pub fn reset_method_info() -> &'static MethodInfo

Source

pub fn get_allow_hdr_method_info() -> &'static MethodInfo

Source

pub fn set_allow_hdr_method_info() -> &'static MethodInfo

Source

pub fn get_allow_msaa_method_info() -> &'static MethodInfo

Source

pub fn set_allow_msaa_method_info() -> &'static MethodInfo

Source

pub fn get_allow_dynamic_resolution_method_info() -> &'static MethodInfo

Source

pub fn set_allow_dynamic_resolution_method_info() -> &'static MethodInfo

Source

pub fn get_force_into_render_texture_method_info() -> &'static MethodInfo

Source

pub fn set_force_into_render_texture_method_info() -> &'static MethodInfo

Source

pub fn get_orthographic_size_method_info() -> &'static MethodInfo

Source

pub fn set_orthographic_size_method_info() -> &'static MethodInfo

Source

pub fn get_orthographic_method_info() -> &'static MethodInfo

Source

pub fn set_orthographic_method_info() -> &'static MethodInfo

Source

pub fn get_opaque_sort_mode_method_info() -> &'static MethodInfo

Source

pub fn set_opaque_sort_mode_method_info() -> &'static MethodInfo

Source

pub fn get_transparency_sort_mode_method_info() -> &'static MethodInfo

Source

pub fn set_transparency_sort_mode_method_info() -> &'static MethodInfo

Source

pub fn get_transparency_sort_axis_method_info() -> &'static MethodInfo

Source

pub fn set_transparency_sort_axis_method_info() -> &'static MethodInfo

Source

pub fn reset_transparency_sort_settings_method_info() -> &'static MethodInfo

Source

pub fn get_depth_method_info() -> &'static MethodInfo

Source

pub fn set_depth_method_info() -> &'static MethodInfo

Source

pub fn get_aspect_method_info() -> &'static MethodInfo

Source

pub fn set_aspect_method_info() -> &'static MethodInfo

Source

pub fn reset_aspect_method_info() -> &'static MethodInfo

Source

pub fn get_velocity_method_info() -> &'static MethodInfo

Source

pub fn get_culling_mask_method_info() -> &'static MethodInfo

Source

pub fn set_culling_mask_method_info() -> &'static MethodInfo

Source

pub fn get_event_mask_method_info() -> &'static MethodInfo

Source

pub fn set_event_mask_method_info() -> &'static MethodInfo

Source

pub fn get_layer_cull_spherical_method_info() -> &'static MethodInfo

Source

pub fn set_layer_cull_spherical_method_info() -> &'static MethodInfo

Source

pub fn get_camera_type_method_info() -> &'static MethodInfo

Source

pub fn set_camera_type_method_info() -> &'static MethodInfo

Source

pub fn get_override_scene_culling_mask_method_info() -> &'static MethodInfo

Source

pub fn set_override_scene_culling_mask_method_info() -> &'static MethodInfo

Source

pub fn get_scene_culling_mask_method_info() -> &'static MethodInfo

Source

pub fn get_layer_cull_distances_method_info() -> &'static MethodInfo

Source

pub fn set_layer_cull_distances_method_info() -> &'static MethodInfo

Source

pub fn get_preview_culling_layer_method_info() -> &'static MethodInfo

Source

pub fn get_use_occlusion_culling_method_info() -> &'static MethodInfo

Source

pub fn set_use_occlusion_culling_method_info() -> &'static MethodInfo

Source

pub fn get_culling_matrix_method_info() -> &'static MethodInfo

Source

pub fn set_culling_matrix_method_info() -> &'static MethodInfo

Source

pub fn reset_culling_matrix_method_info() -> &'static MethodInfo

Source

pub fn get_background_color_method_info() -> &'static MethodInfo

Source

pub fn set_background_color_method_info() -> &'static MethodInfo

Source

pub fn get_clear_flags_method_info() -> &'static MethodInfo

Source

pub fn set_clear_flags_method_info() -> &'static MethodInfo

Source

pub fn get_depth_texture_mode_method_info() -> &'static MethodInfo

Source

pub fn set_depth_texture_mode_method_info() -> &'static MethodInfo

Source

pub fn get_clear_stencil_after_lighting_pass_method_info() -> &'static MethodInfo

Source

pub fn set_clear_stencil_after_lighting_pass_method_info() -> &'static MethodInfo

Source

pub fn set_replacement_shader_method_info() -> &'static MethodInfo

Source

pub fn reset_replacement_shader_method_info() -> &'static MethodInfo

Source

pub fn get_projection_matrix_mode_method_info() -> &'static MethodInfo

Source

pub fn get_use_physical_properties_method_info() -> &'static MethodInfo

Source

pub fn set_use_physical_properties_method_info() -> &'static MethodInfo

Source

pub fn get_sensor_size_method_info() -> &'static MethodInfo

Source

pub fn set_sensor_size_method_info() -> &'static MethodInfo

Source

pub fn get_lens_shift_method_info() -> &'static MethodInfo

Source

pub fn set_lens_shift_method_info() -> &'static MethodInfo

Source

pub fn get_focal_length_method_info() -> &'static MethodInfo

Source

pub fn set_focal_length_method_info() -> &'static MethodInfo

Source

pub fn get_gate_fit_method_info() -> &'static MethodInfo

Source

pub fn set_gate_fit_method_info() -> &'static MethodInfo

Source

pub fn get_gate_fitted_field_of_view_method_info() -> &'static MethodInfo

Source

pub fn get_gate_fitted_lens_shift_method_info() -> &'static MethodInfo

Source

pub fn get_local_space_aim_method_info() -> &'static MethodInfo

Source

pub fn get_rect_method_info() -> &'static MethodInfo

Source

pub fn set_rect_method_info() -> &'static MethodInfo

Source

pub fn get_pixel_rect_method_info() -> &'static MethodInfo

Source

pub fn set_pixel_rect_method_info() -> &'static MethodInfo

Source

pub fn get_pixel_width_method_info() -> &'static MethodInfo

Source

pub fn get_pixel_height_method_info() -> &'static MethodInfo

Source

pub fn get_scaled_pixel_width_method_info() -> &'static MethodInfo

Source

pub fn get_scaled_pixel_height_method_info() -> &'static MethodInfo

Source

pub fn get_target_texture_method_info() -> &'static MethodInfo

Source

pub fn set_target_texture_method_info() -> &'static MethodInfo

Source

pub fn get_active_texture_method_info() -> &'static MethodInfo

Source

pub fn get_target_display_method_info() -> &'static MethodInfo

Source

pub fn set_target_display_method_info() -> &'static MethodInfo

Source

pub fn set_target_buffers_impl_method_info() -> &'static MethodInfo

Source

pub fn set_target_buffers_method_info() -> &'static MethodInfo

Source

pub fn set_target_buffers_mrt_impl_method_info() -> &'static MethodInfo

Source

pub fn set_target_buffers_2_method_info() -> &'static MethodInfo

Source

pub fn get_camera_buffer_warnings_method_info() -> &'static MethodInfo

Source

pub fn get_camera_to_world_matrix_method_info() -> &'static MethodInfo

Source

pub fn get_world_to_camera_matrix_method_info() -> &'static MethodInfo

Source

pub fn set_world_to_camera_matrix_method_info() -> &'static MethodInfo

Source

pub fn get_projection_matrix_method_info() -> &'static MethodInfo

Source

pub fn set_projection_matrix_method_info() -> &'static MethodInfo

Source

pub fn get_non_jittered_projection_matrix_method_info() -> &'static MethodInfo

Source

pub fn set_non_jittered_projection_matrix_method_info() -> &'static MethodInfo

Source

pub fn get_use_jittered_projection_matrix_for_transparent_rendering_method_info() -> &'static MethodInfo

Source

pub fn set_use_jittered_projection_matrix_for_transparent_rendering_method_info() -> &'static MethodInfo

Source

pub fn get_previous_view_projection_matrix_method_info() -> &'static MethodInfo

Source

pub fn reset_world_to_camera_matrix_method_info() -> &'static MethodInfo

Source

pub fn reset_projection_matrix_method_info() -> &'static MethodInfo

Source

pub fn calculate_oblique_matrix_method_info() -> &'static MethodInfo

Source

pub fn world_to_screen_point_method_info() -> &'static MethodInfo

Source

pub fn world_to_viewport_point_method_info() -> &'static MethodInfo

Source

pub fn viewport_to_world_point_method_info() -> &'static MethodInfo

Source

pub fn screen_to_world_point_method_info() -> &'static MethodInfo

Source

pub fn world_to_screen_point_2_method_info() -> &'static MethodInfo

Source

pub fn world_to_viewport_point_2_method_info() -> &'static MethodInfo

Source

pub fn viewport_to_world_point_2_method_info() -> &'static MethodInfo

Source

pub fn screen_to_world_point_2_method_info() -> &'static MethodInfo

Source

pub fn screen_to_viewport_point_method_info() -> &'static MethodInfo

Source

pub fn viewport_to_screen_point_method_info() -> &'static MethodInfo

Source

pub fn get_frustum_plane_size_at_method_info() -> &'static MethodInfo

Source

pub fn viewport_point_to_ray_method_info() -> &'static MethodInfo

Source

pub fn viewport_point_to_ray_2_method_info() -> &'static MethodInfo

Source

pub fn viewport_point_to_ray_3_method_info() -> &'static MethodInfo

Source

pub fn screen_point_to_ray_method_info() -> &'static MethodInfo

Source

pub fn screen_point_to_ray_2_method_info() -> &'static MethodInfo

Source

pub fn screen_point_to_ray_3_method_info() -> &'static MethodInfo

Source

pub fn calculate_frustum_corners_internal_method_info() -> &'static MethodInfo

Source

pub fn calculate_frustum_corners_method_info() -> &'static MethodInfo

Source

pub fn calculate_projection_matrix_from_physical_properties_internal_method_info() -> &'static MethodInfo

Source

pub fn calculate_projection_matrix_from_physical_properties_method_info() -> &'static MethodInfo

Source

pub fn focal_length_to_field_of_view_method_info() -> &'static MethodInfo

Source

pub fn field_of_view_to_focal_length_method_info() -> &'static MethodInfo

Source

pub fn horizontal_to_vertical_field_of_view_method_info() -> &'static MethodInfo

Source

pub fn vertical_to_horizontal_field_of_view_method_info() -> &'static MethodInfo

Source

pub fn get_main_method_info() -> &'static MethodInfo

Source

pub fn get_current_method_info() -> &'static MethodInfo

Source

pub fn get_scene_method_info() -> &'static MethodInfo

Source

pub fn set_scene_method_info() -> &'static MethodInfo

Source

pub fn get_stereo_enabled_method_info() -> &'static MethodInfo

Source

pub fn get_stereo_separation_method_info() -> &'static MethodInfo

Source

pub fn set_stereo_separation_method_info() -> &'static MethodInfo

Source

pub fn get_stereo_convergence_method_info() -> &'static MethodInfo

Source

pub fn set_stereo_convergence_method_info() -> &'static MethodInfo

Source

pub fn get_are_vr_stereo_view_matrices_within_single_cull_tolerance_method_info() -> &'static MethodInfo

Source

pub fn get_stereo_target_eye_method_info() -> &'static MethodInfo

Source

pub fn set_stereo_target_eye_method_info() -> &'static MethodInfo

Source

pub fn get_stereo_active_eye_method_info() -> &'static MethodInfo

Source

pub fn get_stereo_non_jittered_projection_matrix_method_info() -> &'static MethodInfo

Source

pub fn get_stereo_view_matrix_method_info() -> &'static MethodInfo

Source

pub fn copy_stereo_device_projection_matrix_to_non_jittered_method_info() -> &'static MethodInfo

Source

pub fn get_stereo_projection_matrix_method_info() -> &'static MethodInfo

Source

pub fn set_stereo_projection_matrix_method_info() -> &'static MethodInfo

Source

pub fn reset_stereo_projection_matrices_method_info() -> &'static MethodInfo

Source

pub fn set_stereo_view_matrix_method_info() -> &'static MethodInfo

Source

pub fn reset_stereo_view_matrices_method_info() -> &'static MethodInfo

Source

pub fn get_all_cameras_count_method_info() -> &'static MethodInfo

Source

pub fn get_all_cameras_impl_method_info() -> &'static MethodInfo

Source

pub fn get_all_cameras_method_info() -> &'static MethodInfo

Source

pub fn get_all_cameras_2_method_info() -> &'static MethodInfo

Source

pub fn render_to_cubemap_impl_method_info() -> &'static MethodInfo

Source

pub fn render_to_cubemap_method_info() -> &'static MethodInfo

Source

pub fn render_to_cubemap_2_method_info() -> &'static MethodInfo

Source

pub fn render_to_cubemap_3_method_info() -> &'static MethodInfo

Source

pub fn render_to_cubemap_4_method_info() -> &'static MethodInfo

Source

pub fn render_to_cubemap_eye_impl_method_info() -> &'static MethodInfo

Source

pub fn render_to_cubemap_5_method_info() -> &'static MethodInfo

Source

pub fn render_method_info() -> &'static MethodInfo

Source

pub fn render_with_shader_method_info() -> &'static MethodInfo

Source

pub fn render_dont_restore_method_info() -> &'static MethodInfo

Source

pub fn submit_render_requests_method_info() -> &'static MethodInfo

Source

pub fn submit_render_requests_internal_method_info() -> &'static MethodInfo

Source

pub fn setup_current_method_info() -> &'static MethodInfo

Source

pub fn copy_from_method_info() -> &'static MethodInfo

Source

pub fn get_command_buffer_count_method_info() -> &'static MethodInfo

Source

pub fn remove_command_buffers_method_info() -> &'static MethodInfo

Source

pub fn remove_all_command_buffers_method_info() -> &'static MethodInfo

Source

pub fn add_command_buffer_impl_method_info() -> &'static MethodInfo

Source

pub fn add_command_buffer_async_impl_method_info() -> &'static MethodInfo

Source

pub fn remove_command_buffer_impl_method_info() -> &'static MethodInfo

Source

pub fn add_command_buffer_method_info() -> &'static MethodInfo

Source

pub fn add_command_buffer_async_method_info() -> &'static MethodInfo

Source

pub fn remove_command_buffer_method_info() -> &'static MethodInfo

Source

pub fn get_command_buffers_method_info() -> &'static MethodInfo

Source

pub fn fire_on_pre_cull_method_info() -> &'static MethodInfo

Source

pub fn fire_on_pre_render_method_info() -> &'static MethodInfo

Source

pub fn fire_on_post_render_method_info() -> &'static MethodInfo

Source

pub fn only_used_for_testing1_method_info() -> &'static MethodInfo

Source

pub fn only_used_for_testing2_method_info() -> &'static MethodInfo

Source

pub fn try_get_culling_parameters_method_info() -> &'static MethodInfo

Source

pub fn try_get_culling_parameters_2_method_info() -> &'static MethodInfo

Source

pub fn get_culling_parameters_internal_method_info() -> &'static MethodInfo

Source

pub fn get_transparency_sort_axis_injected_method_info() -> &'static MethodInfo

Source

pub fn set_transparency_sort_axis_injected_method_info() -> &'static MethodInfo

Source

pub fn get_velocity_injected_method_info() -> &'static MethodInfo

Source

pub fn get_culling_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn set_culling_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn get_background_color_injected_method_info() -> &'static MethodInfo

Source

pub fn set_background_color_injected_method_info() -> &'static MethodInfo

Source

pub fn get_sensor_size_injected_method_info() -> &'static MethodInfo

Source

pub fn set_sensor_size_injected_method_info() -> &'static MethodInfo

Source

pub fn get_lens_shift_injected_method_info() -> &'static MethodInfo

Source

pub fn set_lens_shift_injected_method_info() -> &'static MethodInfo

Source

pub fn get_gate_fitted_lens_shift_injected_method_info() -> &'static MethodInfo

Source

pub fn get_local_space_aim_injected_method_info() -> &'static MethodInfo

Source

pub fn get_rect_injected_method_info() -> &'static MethodInfo

Source

pub fn set_rect_injected_method_info() -> &'static MethodInfo

Source

pub fn get_pixel_rect_injected_method_info() -> &'static MethodInfo

Source

pub fn set_pixel_rect_injected_method_info() -> &'static MethodInfo

Source

pub fn set_target_buffers_impl_injected_method_info() -> &'static MethodInfo

Source

pub fn set_target_buffers_mrt_impl_injected_method_info() -> &'static MethodInfo

Source

pub fn get_camera_to_world_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn get_world_to_camera_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn set_world_to_camera_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn get_projection_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn set_projection_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn get_non_jittered_projection_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn set_non_jittered_projection_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn get_previous_view_projection_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn calculate_oblique_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn world_to_screen_point_injected_method_info() -> &'static MethodInfo

Source

pub fn world_to_viewport_point_injected_method_info() -> &'static MethodInfo

Source

pub fn viewport_to_world_point_injected_method_info() -> &'static MethodInfo

Source

pub fn screen_to_world_point_injected_method_info() -> &'static MethodInfo

Source

pub fn screen_to_viewport_point_injected_method_info() -> &'static MethodInfo

Source

pub fn viewport_to_screen_point_injected_method_info() -> &'static MethodInfo

Source

pub fn get_frustum_plane_size_at_injected_method_info() -> &'static MethodInfo

Source

pub fn viewport_point_to_ray_injected_method_info() -> &'static MethodInfo

Source

pub fn screen_point_to_ray_injected_method_info() -> &'static MethodInfo

Source

pub fn calculate_frustum_corners_internal_injected_method_info() -> &'static MethodInfo

Source

pub fn calculate_projection_matrix_from_physical_properties_internal_injected_method_info() -> &'static MethodInfo

Source

pub fn get_scene_injected_method_info() -> &'static MethodInfo

Source

pub fn set_scene_injected_method_info() -> &'static MethodInfo

Source

pub fn get_stereo_non_jittered_projection_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn get_stereo_view_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn get_stereo_projection_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn set_stereo_projection_matrix_injected_method_info() -> &'static MethodInfo

Source

pub fn set_stereo_view_matrix_injected_method_info() -> &'static MethodInfo

Source§

impl Camera

Source

pub fn new() -> Self

.ctor() — no args

Trait Implementations§

Source§

impl ClassIdentity for Camera

Source§

const NAMESPACE: &'static str = "UnityEngine"

Source§

const NAME: &'static str = "Camera"

Source§

fn class() -> Class

Source§

impl Clone for Camera

Source§

fn clone(&self) -> Camera

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl FromIlInstance for Camera

Source§

fn from_il_instance(instance: IlInstance) -> Self

§

fn instantiate() -> Option<Self>

§

fn instantiate_with_class(class: Class) -> Option<Self>

Caller swears class is a subtype of Self or layout compatible
Source§

impl IList_1<Camera> for ScriptSystem_CameraList

Source§

fn items(self) -> Array<T0>

Source§

fn set_items(self, value: Array<T0>)

Source§

fn size(self) -> i32

Source§

fn set_size(self, value: i32)

Source§

fn version(self) -> i32

Source§

fn set_version(self, value: i32)

Source§

fn sync_root(self) -> IlInstance

Source§

fn set_sync_root(self, value: IlInstance)

Source§

impl IObject_2 for Camera

Source§

impl IlType for Camera

Source§

fn il_type() -> &'static Il2CppType

Source§

impl Copy for Camera

Source§

impl IBehaviour for Camera

Source§

impl ICamera for Camera

Source§

impl IComponent for Camera

Source§

impl IObject for Camera

Auto Trait Implementations§

§

impl Freeze for Camera

§

impl RefUnwindSafe for Camera

§

impl !Send for Camera

§

impl !Sync for Camera

§

impl Unpin for Camera

§

impl UnwindSafe for Camera

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Cast for T
where T: SystemObject,

§

fn get_class(self) -> Class

§

fn is_null(self) -> bool

§

fn rebind_class(self, new_class: Class)

§

fn override_class(self) -> Class

§

fn is_instance_of<T>(self) -> bool
where T: ClassIdentity,

§

fn is_direct_subclass_of<T>(self) -> bool
where T: ClassIdentity,

§

fn try_cast<T>(self) -> Option<T>

§

unsafe fn cast<T>(self) -> T

Safety Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> DefaultInjectedMembers for T

§

fn __injected_fields() -> Vec<InjectedFieldDescriptor>

§

fn __injected_methods() -> Vec<InjectedMethodDescriptor>

§

fn __injected_overrides() -> Vec<InjectedOverrideDescriptor>

§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T0, __U> IArrayBuilder_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, capacity: i32)
where Self: Sized,

Source§

fn get_capacity(self) -> i32
where Self: Sized,

Source§

fn get_count(self) -> i32
where Self: Sized,

Source§

fn get_item(self, index: i32) -> T0
where Self: Sized,

Source§

fn add(self, item: T0)
where Self: Sized,

Source§

fn to_array(self) -> Array<T0>
where Self: Sized,

Source§

fn unchecked_add(self, item: T0)
where Self: Sized,

Source§

fn ensure_capacity(self, minimum: i32)
where Self: Sized,

Source§

impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get_location_name(self) -> Il2CppString
where Self: Sized,

Source§

fn set_location_name(self, value: Il2CppString)
where Self: Sized,

Source§

fn op_implicit(obj: AsyncOperationHandle_1<T0>) -> AsyncOperationHandle

Source§

fn ctor(self, op: AsyncOperationBase_1<T0>)
where Self: Sized,

Source§

fn get_download_status(self) -> DownloadStatus
where Self: Sized,

Source§

fn internal_get_download_status( self, visited: HashSet_1<Object>, ) -> DownloadStatus
where Self: Sized,

Source§

fn ctor_2(self, op: IAsyncOperation)
where Self: Sized,

Source§

fn ctor_3(self, op: IAsyncOperation, version: i32)
where Self: Sized,

Source§

fn ctor_4(self, op: IAsyncOperation, location_name: Il2CppString)
where Self: Sized,

Source§

fn ctor_5(self, op: IAsyncOperation, version: i32, location_name: Il2CppString)
where Self: Sized,

Source§

fn acquire(self) -> AsyncOperationHandle_1<T0>
where Self: Sized,

Source§

fn add_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)
where Self: Sized,

Source§

fn remove_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)
where Self: Sized,

Source§

fn add_completed_typeless(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn remove_completed_typeless(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn get_debug_name(self) -> Il2CppString
where Self: Sized,

Source§

fn add_destroyed(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn remove_destroyed(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn equals(self, other: AsyncOperationHandle_1<T0>) -> bool
where Self: Sized,

Source§

fn get_hash_code(self) -> i32
where Self: Sized,

Source§

fn wait_for_completion(self) -> T0
where Self: Sized,

Source§

fn get_internal_op(self) -> AsyncOperationBase_1<T0>
where Self: Sized,

Source§

fn get_is_done(self) -> bool
where Self: Sized,

Source§

fn is_valid(self) -> bool
where Self: Sized,

Source§

fn get_percent_complete(self) -> f32
where Self: Sized,

Source§

fn get_reference_count(self) -> i32
where Self: Sized,

Source§

fn release(self)
where Self: Sized,

Source§

fn get_result(self) -> T0
where Self: Sized,

Source§

fn get_status(self) -> AsyncOperationStatus
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_move_next(self) -> bool
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<__T> IBehaviourMethods for __T
where __T: IBehaviour,

Source§

fn get_enabled(self) -> bool

get_enabled() overload
Source§

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

set_enabled(bool) overload
Source§

fn get_is_active_and_enabled(self) -> bool

get_isActiveAndEnabled() overload
Source§

fn ctor(self)

.ctor() overload
Source§

impl<__T> ICameraMethods for __T
where __T: ICamera,

Source§

fn ctor(self)

.ctor() overload
Source§

fn get_near_clip_plane(self) -> f32

get_nearClipPlane() overload
Source§

fn set_near_clip_plane(self, value: impl Into<f32>)

set_nearClipPlane(f32) overload
Source§

fn get_far_clip_plane(self) -> f32

get_farClipPlane() overload
Source§

fn set_far_clip_plane(self, value: impl Into<f32>)

set_farClipPlane(f32) overload
Source§

fn get_field_of_view(self) -> f32

get_fieldOfView() overload
Source§

fn set_field_of_view(self, value: impl Into<f32>)

set_fieldOfView(f32) overload
Source§

fn get_rendering_path(self) -> RenderingPath

get_renderingPath() overload
Source§

fn set_rendering_path(self, value: impl Into<RenderingPath>)

set_renderingPath(crate::unity_engine::renderingpath::RenderingPath) overload
Source§

fn get_actual_rendering_path(self) -> RenderingPath

get_actualRenderingPath() overload
Source§

fn reset(self)

Reset() overload
Source§

fn get_allow_hdr(self) -> bool

get_allowHDR() overload
Source§

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

set_allowHDR(bool) overload
Source§

fn get_allow_msaa(self) -> bool

get_allowMSAA() overload
Source§

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

set_allowMSAA(bool) overload
Source§

fn get_allow_dynamic_resolution(self) -> bool

get_allowDynamicResolution() overload
Source§

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

set_allowDynamicResolution(bool) overload
Source§

fn get_force_into_render_texture(self) -> bool

get_forceIntoRenderTexture() overload
Source§

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

set_forceIntoRenderTexture(bool) overload
Source§

fn get_orthographic_size(self) -> f32

get_orthographicSize() overload
Source§

fn set_orthographic_size(self, value: impl Into<f32>)

set_orthographicSize(f32) overload
Source§

fn get_orthographic(self) -> bool

get_orthographic() overload
Source§

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

set_orthographic(bool) overload
Source§

fn get_opaque_sort_mode(self) -> OpaqueSortMode

get_opaqueSortMode() overload
Source§

fn set_opaque_sort_mode(self, value: impl Into<OpaqueSortMode>)

set_opaqueSortMode(crate::unity_engine::rendering::opaquesortmode::OpaqueSortMode) overload
Source§

fn get_transparency_sort_mode(self) -> TransparencySortMode

get_transparencySortMode() overload
Source§

fn set_transparency_sort_mode(self, value: impl Into<TransparencySortMode>)

set_transparencySortMode(crate::unity_engine::transparencysortmode::TransparencySortMode) overload
Source§

fn get_transparency_sort_axis(self) -> Vector3

get_transparencySortAxis() overload
Source§

fn set_transparency_sort_axis(self, value: impl Into<Vector3>)

set_transparencySortAxis(crate::unity_engine::vector3::Vector3) overload
Source§

fn reset_transparency_sort_settings(self)

ResetTransparencySortSettings() overload
Source§

fn get_depth(self) -> f32

get_depth() overload
Source§

fn set_depth(self, value: impl Into<f32>)

set_depth(f32) overload
Source§

fn get_aspect(self) -> f32

get_aspect() overload
Source§

fn set_aspect(self, value: impl Into<f32>)

set_aspect(f32) overload
Source§

fn reset_aspect(self)

ResetAspect() overload
Source§

fn get_velocity(self) -> Vector3

get_velocity() overload
Source§

fn get_culling_mask(self) -> i32

get_cullingMask() overload
Source§

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

set_cullingMask(i32) overload
Source§

fn get_event_mask(self) -> i32

get_eventMask() overload
Source§

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

set_eventMask(i32) overload
Source§

fn get_layer_cull_spherical(self) -> bool

get_layerCullSpherical() overload
Source§

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

set_layerCullSpherical(bool) overload
Source§

fn get_camera_type(self) -> CameraType

get_cameraType() overload
Source§

fn set_camera_type(self, value: impl Into<CameraType>)

set_cameraType(crate::unity_engine::cameratype::CameraType) overload
Source§

fn get_override_scene_culling_mask(self) -> u64

get_overrideSceneCullingMask() overload
Source§

fn set_override_scene_culling_mask(self, value: impl Into<u64>)

set_overrideSceneCullingMask(u64) overload
Source§

fn get_scene_culling_mask(self) -> u64

get_sceneCullingMask() overload
Source§

fn get_layer_cull_distances(self) -> Array<f32>

GetLayerCullDistances() overload
Source§

fn set_layer_cull_distances(self, d: impl Into<Array<f32>>)

SetLayerCullDistances(::unity::Array<f32>) overload
Source§

fn get_use_occlusion_culling(self) -> bool

get_useOcclusionCulling() overload
Source§

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

set_useOcclusionCulling(bool) overload
Source§

fn get_culling_matrix(self) -> Matrix4x4

get_cullingMatrix() overload
Source§

fn set_culling_matrix(self, value: impl Into<Matrix4x4>)

set_cullingMatrix(crate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn reset_culling_matrix(self)

ResetCullingMatrix() overload
Source§

fn get_background_color(self) -> Color

get_backgroundColor() overload
Source§

fn set_background_color(self, value: impl Into<Color>)

set_backgroundColor(crate::unity_engine::color::Color) overload
Source§

fn get_clear_flags(self) -> CameraClearFlags

get_clearFlags() overload
Source§

fn set_clear_flags(self, value: impl Into<CameraClearFlags>)

set_clearFlags(crate::unity_engine::cameraclearflags::CameraClearFlags) overload
Source§

fn get_depth_texture_mode(self) -> DepthTextureMode

get_depthTextureMode() overload
Source§

fn set_depth_texture_mode(self, value: impl Into<DepthTextureMode>)

set_depthTextureMode(crate::unity_engine::depthtexturemode::DepthTextureMode) overload
Source§

fn get_clear_stencil_after_lighting_pass(self) -> bool

get_clearStencilAfterLightingPass() overload
Source§

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

set_clearStencilAfterLightingPass(bool) overload
Source§

fn set_replacement_shader( self, shader: impl Into<Shader>, replacement_tag: impl Into<Il2CppString>, )

SetReplacementShader(crate::unity_engine::shader::Shader, ::unity::Il2CppString) overload
Source§

fn reset_replacement_shader(self)

ResetReplacementShader() overload
Source§

fn get_projection_matrix_mode(self) -> Camera_ProjectionMatrixMode

get_projectionMatrixMode() overload
Source§

fn get_use_physical_properties(self) -> bool

get_usePhysicalProperties() overload
Source§

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

set_usePhysicalProperties(bool) overload
Source§

fn get_sensor_size(self) -> Vector2

get_sensorSize() overload
Source§

fn set_sensor_size(self, value: impl Into<Vector2>)

set_sensorSize(crate::unity_engine::vector2::Vector2) overload
Source§

fn get_lens_shift(self) -> Vector2

get_lensShift() overload
Source§

fn set_lens_shift(self, value: impl Into<Vector2>)

set_lensShift(crate::unity_engine::vector2::Vector2) overload
Source§

fn get_focal_length(self) -> f32

get_focalLength() overload
Source§

fn set_focal_length(self, value: impl Into<f32>)

set_focalLength(f32) overload
Source§

fn get_gate_fit(self) -> Camera_GateFitMode

get_gateFit() overload
Source§

fn set_gate_fit(self, value: impl Into<Camera_GateFitMode>)

set_gateFit(crate::unity_engine::camera::Camera_GateFitMode) overload
Source§

fn get_gate_fitted_field_of_view(self) -> f32

GetGateFittedFieldOfView() overload
Source§

fn get_gate_fitted_lens_shift(self) -> Vector2

GetGateFittedLensShift() overload
Source§

fn get_local_space_aim(self) -> Vector3

GetLocalSpaceAim() overload
Source§

fn get_rect(self) -> Rect

get_rect() overload
Source§

fn set_rect(self, value: impl Into<Rect>)

set_rect(crate::unity_engine::rect::Rect) overload
Source§

fn get_pixel_rect(self) -> Rect

get_pixelRect() overload
Source§

fn set_pixel_rect(self, value: impl Into<Rect>)

set_pixelRect(crate::unity_engine::rect::Rect) overload
Source§

fn get_pixel_width(self) -> i32

get_pixelWidth() overload
Source§

fn get_pixel_height(self) -> i32

get_pixelHeight() overload
Source§

fn get_scaled_pixel_width(self) -> i32

get_scaledPixelWidth() overload
Source§

fn get_scaled_pixel_height(self) -> i32

get_scaledPixelHeight() overload
Source§

fn get_target_texture(self) -> RenderTexture

get_targetTexture() overload
Source§

fn set_target_texture(self, value: impl Into<RenderTexture>)

set_targetTexture(crate::unity_engine::rendertexture::RenderTexture) overload
Source§

fn get_active_texture(self) -> RenderTexture

get_activeTexture() overload
Source§

fn get_target_display(self) -> i32

get_targetDisplay() overload
Source§

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

set_targetDisplay(i32) overload
Source§

fn set_target_buffers_impl( self, color: impl Into<RenderBuffer>, depth: impl Into<RenderBuffer>, )

SetTargetBuffersImpl(crate::unity_engine::renderbuffer::RenderBuffer, crate::unity_engine::renderbuffer::RenderBuffer) overload
Source§

fn set_target_buffers( self, color_buffer: impl Into<RenderBuffer>, depth_buffer: impl Into<RenderBuffer>, )

SetTargetBuffers(crate::unity_engine::renderbuffer::RenderBuffer, crate::unity_engine::renderbuffer::RenderBuffer) overload
Source§

fn set_target_buffers_mrt_impl( self, color: impl Into<Array<RenderBuffer>>, depth: impl Into<RenderBuffer>, )

SetTargetBuffersMRTImpl(::unity::Array<crate::unity_engine::renderbuffer::RenderBuffer>, crate::unity_engine::renderbuffer::RenderBuffer) overload
Source§

fn set_target_buffers_2( self, color_buffer: impl Into<Array<RenderBuffer>>, depth_buffer: impl Into<RenderBuffer>, )

SetTargetBuffers(::unity::Array<crate::unity_engine::renderbuffer::RenderBuffer>, crate::unity_engine::renderbuffer::RenderBuffer) overload
Source§

fn get_camera_buffer_warnings(self) -> Array<Il2CppString>

GetCameraBufferWarnings() overload
Source§

fn get_camera_to_world_matrix(self) -> Matrix4x4

get_cameraToWorldMatrix() overload
Source§

fn get_world_to_camera_matrix(self) -> Matrix4x4

get_worldToCameraMatrix() overload
Source§

fn set_world_to_camera_matrix(self, value: impl Into<Matrix4x4>)

set_worldToCameraMatrix(crate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn get_projection_matrix(self) -> Matrix4x4

get_projectionMatrix() overload
Source§

fn set_projection_matrix(self, value: impl Into<Matrix4x4>)

set_projectionMatrix(crate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn get_non_jittered_projection_matrix(self) -> Matrix4x4

get_nonJitteredProjectionMatrix() overload
Source§

fn set_non_jittered_projection_matrix(self, value: impl Into<Matrix4x4>)

set_nonJitteredProjectionMatrix(crate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn get_use_jittered_projection_matrix_for_transparent_rendering(self) -> bool

get_useJitteredProjectionMatrixForTransparentRendering() overload
Source§

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

set_useJitteredProjectionMatrixForTransparentRendering(bool) overload
Source§

fn get_previous_view_projection_matrix(self) -> Matrix4x4

get_previousViewProjectionMatrix() overload
Source§

fn reset_world_to_camera_matrix(self)

ResetWorldToCameraMatrix() overload
Source§

fn reset_projection_matrix(self)

ResetProjectionMatrix() overload
Source§

fn calculate_oblique_matrix(self, clip_plane: impl Into<Vector4>) -> Matrix4x4

CalculateObliqueMatrix(crate::unity_engine::vector4::Vector4) overload
Source§

fn world_to_screen_point( self, position: impl Into<Vector3>, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> Vector3

WorldToScreenPoint(crate::unity_engine::vector3::Vector3, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye) overload
Source§

fn world_to_viewport_point( self, position: impl Into<Vector3>, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> Vector3

WorldToViewportPoint(crate::unity_engine::vector3::Vector3, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye) overload
Source§

fn viewport_to_world_point( self, position: impl Into<Vector3>, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> Vector3

ViewportToWorldPoint(crate::unity_engine::vector3::Vector3, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye) overload
Source§

fn screen_to_world_point( self, position: impl Into<Vector3>, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> Vector3

ScreenToWorldPoint(crate::unity_engine::vector3::Vector3, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye) overload
Source§

fn world_to_screen_point_2(self, position: impl Into<Vector3>) -> Vector3

WorldToScreenPoint(crate::unity_engine::vector3::Vector3) overload
Source§

fn world_to_viewport_point_2(self, position: impl Into<Vector3>) -> Vector3

WorldToViewportPoint(crate::unity_engine::vector3::Vector3) overload
Source§

fn viewport_to_world_point_2(self, position: impl Into<Vector3>) -> Vector3

ViewportToWorldPoint(crate::unity_engine::vector3::Vector3) overload
Source§

fn screen_to_world_point_2(self, position: impl Into<Vector3>) -> Vector3

ScreenToWorldPoint(crate::unity_engine::vector3::Vector3) overload
Source§

fn screen_to_viewport_point(self, position: impl Into<Vector3>) -> Vector3

ScreenToViewportPoint(crate::unity_engine::vector3::Vector3) overload
Source§

fn viewport_to_screen_point(self, position: impl Into<Vector3>) -> Vector3

ViewportToScreenPoint(crate::unity_engine::vector3::Vector3) overload
Source§

fn get_frustum_plane_size_at(self, distance: impl Into<f32>) -> Vector2

GetFrustumPlaneSizeAt(f32) overload
Source§

fn viewport_point_to_ray( self, pos: impl Into<Vector2>, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> Ray

ViewportPointToRay(crate::unity_engine::vector2::Vector2, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye) overload
Source§

fn viewport_point_to_ray_2( self, pos: impl Into<Vector3>, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> Ray

ViewportPointToRay(crate::unity_engine::vector3::Vector3, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye) overload
Source§

fn viewport_point_to_ray_3(self, pos: impl Into<Vector3>) -> Ray

ViewportPointToRay(crate::unity_engine::vector3::Vector3) overload
Source§

fn screen_point_to_ray( self, pos: impl Into<Vector2>, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> Ray

ScreenPointToRay(crate::unity_engine::vector2::Vector2, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye) overload
Source§

fn screen_point_to_ray_2( self, pos: impl Into<Vector3>, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> Ray

ScreenPointToRay(crate::unity_engine::vector3::Vector3, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye) overload
Source§

fn screen_point_to_ray_3(self, pos: impl Into<Vector3>) -> Ray

ScreenPointToRay(crate::unity_engine::vector3::Vector3) overload
Source§

fn calculate_frustum_corners_internal( self, viewport: impl Into<Rect>, z: impl Into<f32>, eye: impl Into<Camera_MonoOrStereoscopicEye>, out_corners: impl Into<Array<Vector3>>, )

CalculateFrustumCornersInternal(crate::unity_engine::rect::Rect, f32, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye, ::unity::Array<crate::unity_engine::vector3::Vector3>) overload
Source§

fn calculate_frustum_corners( self, viewport: impl Into<Rect>, z: impl Into<f32>, eye: impl Into<Camera_MonoOrStereoscopicEye>, out_corners: impl Into<Array<Vector3>>, )

CalculateFrustumCorners(crate::unity_engine::rect::Rect, f32, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye, ::unity::Array<crate::unity_engine::vector3::Vector3>) overload
Source§

fn get_scene(self) -> Scene

get_scene() overload
Source§

fn set_scene(self, value: impl Into<Scene>)

set_scene(crate::unity_engine::scene_management::scene::Scene) overload
Source§

fn get_stereo_enabled(self) -> bool

get_stereoEnabled() overload
Source§

fn get_stereo_separation(self) -> f32

get_stereoSeparation() overload
Source§

fn set_stereo_separation(self, value: impl Into<f32>)

set_stereoSeparation(f32) overload
Source§

fn get_stereo_convergence(self) -> f32

get_stereoConvergence() overload
Source§

fn set_stereo_convergence(self, value: impl Into<f32>)

set_stereoConvergence(f32) overload
Source§

fn get_are_vr_stereo_view_matrices_within_single_cull_tolerance(self) -> bool

get_areVRStereoViewMatricesWithinSingleCullTolerance() overload
Source§

fn get_stereo_target_eye(self) -> StereoTargetEyeMask

get_stereoTargetEye() overload
Source§

fn set_stereo_target_eye(self, value: impl Into<StereoTargetEyeMask>)

set_stereoTargetEye(crate::unity_engine::stereotargeteyemask::StereoTargetEyeMask) overload
Source§

fn get_stereo_active_eye(self) -> Camera_MonoOrStereoscopicEye

get_stereoActiveEye() overload
Source§

fn get_stereo_non_jittered_projection_matrix( self, eye: impl Into<Camera_StereoscopicEye>, ) -> Matrix4x4

GetStereoNonJitteredProjectionMatrix(crate::unity_engine::camera::Camera_StereoscopicEye) overload
Source§

fn get_stereo_view_matrix( self, eye: impl Into<Camera_StereoscopicEye>, ) -> Matrix4x4

GetStereoViewMatrix(crate::unity_engine::camera::Camera_StereoscopicEye) overload
Source§

fn copy_stereo_device_projection_matrix_to_non_jittered( self, eye: impl Into<Camera_StereoscopicEye>, )

CopyStereoDeviceProjectionMatrixToNonJittered(crate::unity_engine::camera::Camera_StereoscopicEye) overload
Source§

fn get_stereo_projection_matrix( self, eye: impl Into<Camera_StereoscopicEye>, ) -> Matrix4x4

GetStereoProjectionMatrix(crate::unity_engine::camera::Camera_StereoscopicEye) overload
Source§

fn set_stereo_projection_matrix( self, eye: impl Into<Camera_StereoscopicEye>, matrix: impl Into<Matrix4x4>, )

SetStereoProjectionMatrix(crate::unity_engine::camera::Camera_StereoscopicEye, crate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn reset_stereo_projection_matrices(self)

ResetStereoProjectionMatrices() overload
Source§

fn set_stereo_view_matrix( self, eye: impl Into<Camera_StereoscopicEye>, matrix: impl Into<Matrix4x4>, )

SetStereoViewMatrix(crate::unity_engine::camera::Camera_StereoscopicEye, crate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn reset_stereo_view_matrices(self)

ResetStereoViewMatrices() overload
Source§

fn render_to_cubemap_impl( self, tex: impl Into<Texture>, face_mask: impl Into<i32>, ) -> bool

RenderToCubemapImpl(crate::unity_engine::texture::Texture, i32) overload
Source§

fn render_to_cubemap( self, cubemap: impl Into<Cubemap>, face_mask: impl Into<i32>, ) -> bool

RenderToCubemap(crate::unity_engine::cubemap::Cubemap, i32) overload
Source§

fn render_to_cubemap_2(self, cubemap: impl Into<Cubemap>) -> bool

RenderToCubemap(crate::unity_engine::cubemap::Cubemap) overload
Source§

fn render_to_cubemap_3( self, cubemap: impl Into<RenderTexture>, face_mask: impl Into<i32>, ) -> bool

RenderToCubemap(crate::unity_engine::rendertexture::RenderTexture, i32) overload
Source§

fn render_to_cubemap_4(self, cubemap: impl Into<RenderTexture>) -> bool

RenderToCubemap(crate::unity_engine::rendertexture::RenderTexture) overload
Source§

fn render_to_cubemap_eye_impl( self, cubemap: impl Into<RenderTexture>, face_mask: impl Into<i32>, stereo_eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> bool

RenderToCubemapEyeImpl(crate::unity_engine::rendertexture::RenderTexture, i32, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye) overload
Source§

fn render_to_cubemap_5( self, cubemap: impl Into<RenderTexture>, face_mask: impl Into<i32>, stereo_eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> bool

RenderToCubemap(crate::unity_engine::rendertexture::RenderTexture, i32, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye) overload
Source§

fn render(self)

Render() overload
Source§

fn render_with_shader( self, shader: impl Into<Shader>, replacement_tag: impl Into<Il2CppString>, )

RenderWithShader(crate::unity_engine::shader::Shader, ::unity::Il2CppString) overload
Source§

fn render_dont_restore(self)

RenderDontRestore() overload
Source§

fn submit_render_requests( self, render_requests: impl Into<List_1<Camera_RenderRequest>>, )

SubmitRenderRequests(crate::system::collections::generic::list_1::List_1<crate::unity_engine::camera::Camera_RenderRequest>) overload
Source§

fn submit_render_requests_internal(self, requests: impl Into<Object>)

SubmitRenderRequestsInternal(crate::system::object::Object) overload
Source§

fn copy_from(self, other: impl Into<Camera>)

CopyFrom(crate::unity_engine::camera::Camera) overload
Source§

fn get_command_buffer_count(self) -> i32

get_commandBufferCount() overload
Source§

fn remove_command_buffers(self, evt: impl Into<CameraEvent>)

RemoveCommandBuffers(crate::unity_engine::rendering::cameraevent::CameraEvent) overload
Source§

fn remove_all_command_buffers(self)

RemoveAllCommandBuffers() overload
Source§

fn add_command_buffer_impl( self, evt: impl Into<CameraEvent>, buffer: impl Into<CommandBuffer>, )

AddCommandBufferImpl(crate::unity_engine::rendering::cameraevent::CameraEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer) overload
Source§

fn add_command_buffer_async_impl( self, evt: impl Into<CameraEvent>, buffer: impl Into<CommandBuffer>, queue_type: impl Into<ComputeQueueType>, )

AddCommandBufferAsyncImpl(crate::unity_engine::rendering::cameraevent::CameraEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::computequeuetype::ComputeQueueType) overload
Source§

fn remove_command_buffer_impl( self, evt: impl Into<CameraEvent>, buffer: impl Into<CommandBuffer>, )

RemoveCommandBufferImpl(crate::unity_engine::rendering::cameraevent::CameraEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer) overload
Source§

fn add_command_buffer( self, evt: impl Into<CameraEvent>, buffer: impl Into<CommandBuffer>, )

AddCommandBuffer(crate::unity_engine::rendering::cameraevent::CameraEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer) overload
Source§

fn add_command_buffer_async( self, evt: impl Into<CameraEvent>, buffer: impl Into<CommandBuffer>, queue_type: impl Into<ComputeQueueType>, )

AddCommandBufferAsync(crate::unity_engine::rendering::cameraevent::CameraEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::computequeuetype::ComputeQueueType) overload
Source§

fn remove_command_buffer( self, evt: impl Into<CameraEvent>, buffer: impl Into<CommandBuffer>, )

RemoveCommandBuffer(crate::unity_engine::rendering::cameraevent::CameraEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer) overload
Source§

fn get_command_buffers( self, evt: impl Into<CameraEvent>, ) -> Array<CommandBuffer>

GetCommandBuffers(crate::unity_engine::rendering::cameraevent::CameraEvent) overload
Source§

fn only_used_for_testing1(self)

OnlyUsedForTesting1() overload
Source§

fn only_used_for_testing2(self)

OnlyUsedForTesting2() overload
Source§

fn try_get_culling_parameters(self) -> (bool, ScriptableCullingParameters)

TryGetCullingParameters(*mutcrate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters) overload
Source§

fn try_get_culling_parameters_2( self, stereo_aware: impl Into<bool>, ) -> (bool, ScriptableCullingParameters)

TryGetCullingParameters(bool, *mutcrate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters) overload
Source§

fn get_transparency_sort_axis_injected(self) -> Vector3

get_transparencySortAxis_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Source§

fn set_transparency_sort_axis_injected(self) -> Vector3

set_transparencySortAxis_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Source§

fn get_velocity_injected(self) -> Vector3

get_velocity_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Source§

fn get_culling_matrix_injected(self) -> Matrix4x4

get_cullingMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn set_culling_matrix_injected(self) -> Matrix4x4

set_cullingMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn get_background_color_injected(self) -> Color

get_backgroundColor_Injected(*mutcrate::unity_engine::color::Color) overload
Source§

fn set_background_color_injected(self) -> Color

set_backgroundColor_Injected(*mutcrate::unity_engine::color::Color) overload
Source§

fn get_sensor_size_injected(self) -> Vector2

get_sensorSize_Injected(*mutcrate::unity_engine::vector2::Vector2) overload
Source§

fn set_sensor_size_injected(self) -> Vector2

set_sensorSize_Injected(*mutcrate::unity_engine::vector2::Vector2) overload
Source§

fn get_lens_shift_injected(self) -> Vector2

get_lensShift_Injected(*mutcrate::unity_engine::vector2::Vector2) overload
Source§

fn set_lens_shift_injected(self) -> Vector2

set_lensShift_Injected(*mutcrate::unity_engine::vector2::Vector2) overload
Source§

fn get_gate_fitted_lens_shift_injected(self) -> Vector2

GetGateFittedLensShift_Injected(*mutcrate::unity_engine::vector2::Vector2) overload
Source§

fn get_local_space_aim_injected(self) -> Vector3

GetLocalSpaceAim_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Source§

fn get_rect_injected(self) -> Rect

get_rect_Injected(*mutcrate::unity_engine::rect::Rect) overload
Source§

fn set_rect_injected(self) -> Rect

set_rect_Injected(*mutcrate::unity_engine::rect::Rect) overload
Source§

fn get_pixel_rect_injected(self) -> Rect

get_pixelRect_Injected(*mutcrate::unity_engine::rect::Rect) overload
Source§

fn set_pixel_rect_injected(self) -> Rect

set_pixelRect_Injected(*mutcrate::unity_engine::rect::Rect) overload
Source§

fn set_target_buffers_impl_injected(self) -> (RenderBuffer, RenderBuffer)

SetTargetBuffersImpl_Injected(*mutcrate::unity_engine::renderbuffer::RenderBuffer, *mutcrate::unity_engine::renderbuffer::RenderBuffer) overload
Source§

fn set_target_buffers_mrt_impl_injected( self, color: impl Into<Array<RenderBuffer>>, ) -> RenderBuffer

SetTargetBuffersMRTImpl_Injected(::unity::Array<crate::unity_engine::renderbuffer::RenderBuffer>, *mutcrate::unity_engine::renderbuffer::RenderBuffer) overload
Source§

fn get_camera_to_world_matrix_injected(self) -> Matrix4x4

get_cameraToWorldMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn get_world_to_camera_matrix_injected(self) -> Matrix4x4

get_worldToCameraMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn set_world_to_camera_matrix_injected(self) -> Matrix4x4

set_worldToCameraMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn get_projection_matrix_injected(self) -> Matrix4x4

get_projectionMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn set_projection_matrix_injected(self) -> Matrix4x4

set_projectionMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn get_non_jittered_projection_matrix_injected(self) -> Matrix4x4

get_nonJitteredProjectionMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn set_non_jittered_projection_matrix_injected(self) -> Matrix4x4

set_nonJitteredProjectionMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn get_previous_view_projection_matrix_injected(self) -> Matrix4x4

get_previousViewProjectionMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn calculate_oblique_matrix_injected(self) -> (Vector4, Matrix4x4)

CalculateObliqueMatrix_Injected(*mutcrate::unity_engine::vector4::Vector4, *mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn world_to_screen_point_injected( self, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> (Vector3, Vector3)

WorldToScreenPoint_Injected(*mutcrate::unity_engine::vector3::Vector3, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye, *mutcrate::unity_engine::vector3::Vector3) overload
Source§

fn world_to_viewport_point_injected( self, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> (Vector3, Vector3)

WorldToViewportPoint_Injected(*mutcrate::unity_engine::vector3::Vector3, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye, *mutcrate::unity_engine::vector3::Vector3) overload
Source§

fn viewport_to_world_point_injected( self, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> (Vector3, Vector3)

ViewportToWorldPoint_Injected(*mutcrate::unity_engine::vector3::Vector3, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye, *mutcrate::unity_engine::vector3::Vector3) overload
Source§

fn screen_to_world_point_injected( self, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> (Vector3, Vector3)

ScreenToWorldPoint_Injected(*mutcrate::unity_engine::vector3::Vector3, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye, *mutcrate::unity_engine::vector3::Vector3) overload
Source§

fn screen_to_viewport_point_injected(self) -> (Vector3, Vector3)

ScreenToViewportPoint_Injected(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3) overload
Source§

fn viewport_to_screen_point_injected(self) -> (Vector3, Vector3)

ViewportToScreenPoint_Injected(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3) overload
Source§

fn get_frustum_plane_size_at_injected(self, distance: impl Into<f32>) -> Vector2

GetFrustumPlaneSizeAt_Injected(f32, *mutcrate::unity_engine::vector2::Vector2) overload
Source§

fn viewport_point_to_ray_injected( self, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> (Vector2, Ray)

ViewportPointToRay_Injected(*mutcrate::unity_engine::vector2::Vector2, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye, *mutcrate::unity_engine::ray::Ray) overload
Source§

fn screen_point_to_ray_injected( self, eye: impl Into<Camera_MonoOrStereoscopicEye>, ) -> (Vector2, Ray)

ScreenPointToRay_Injected(*mutcrate::unity_engine::vector2::Vector2, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye, *mutcrate::unity_engine::ray::Ray) overload
Source§

fn calculate_frustum_corners_internal_injected( self, z: impl Into<f32>, eye: impl Into<Camera_MonoOrStereoscopicEye>, out_corners: impl Into<Array<Vector3>>, ) -> Rect

CalculateFrustumCornersInternal_Injected(*mutcrate::unity_engine::rect::Rect, f32, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye, ::unity::Array<crate::unity_engine::vector3::Vector3>) overload
Source§

fn get_scene_injected(self) -> Scene

get_scene_Injected(*mutcrate::unity_engine::scene_management::scene::Scene) overload
Source§

fn set_scene_injected(self) -> Scene

set_scene_Injected(*mutcrate::unity_engine::scene_management::scene::Scene) overload
Source§

fn get_stereo_non_jittered_projection_matrix_injected( self, eye: impl Into<Camera_StereoscopicEye>, ) -> Matrix4x4

GetStereoNonJitteredProjectionMatrix_Injected(crate::unity_engine::camera::Camera_StereoscopicEye, *mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn get_stereo_view_matrix_injected( self, eye: impl Into<Camera_StereoscopicEye>, ) -> Matrix4x4

GetStereoViewMatrix_Injected(crate::unity_engine::camera::Camera_StereoscopicEye, *mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn get_stereo_projection_matrix_injected( self, eye: impl Into<Camera_StereoscopicEye>, ) -> Matrix4x4

GetStereoProjectionMatrix_Injected(crate::unity_engine::camera::Camera_StereoscopicEye, *mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn set_stereo_projection_matrix_injected( self, eye: impl Into<Camera_StereoscopicEye>, ) -> Matrix4x4

SetStereoProjectionMatrix_Injected(crate::unity_engine::camera::Camera_StereoscopicEye, *mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

fn set_stereo_view_matrix_injected( self, eye: impl Into<Camera_StereoscopicEye>, ) -> Matrix4x4

SetStereoViewMatrix_Injected(crate::unity_engine::camera::Camera_StereoscopicEye, *mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Source§

impl<__T> IComponentMethods for __T
where __T: IComponent,

Source§

fn get_transform(self) -> Transform

get_transform() overload
Source§

fn get_game_object(self) -> GameObject

get_gameObject() overload
Source§

fn get_component(self, type: impl Into<SystemType>) -> Component

GetComponent(::unity::SystemType) overload
Source§

fn get_component_fast_path( self, type: impl Into<SystemType>, one_further_than_result_value: impl Into<IntPtr>, )

GetComponentFastPath(::unity::SystemType, ::unity::IntPtr) overload
Source§

fn get_component_2<M0: IlType + Copy + ClassIdentity>(self) -> M0

Source§

fn try_get_component<M0: IlType + Copy + ClassIdentity>( self, component: impl Into<*mut M0>, ) -> bool

Source§

fn get_component_in_children( self, t: impl Into<SystemType>, include_inactive: impl Into<bool>, ) -> Component

GetComponentInChildren(::unity::SystemType, bool) overload
Source§

fn get_component_in_children_2<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, ) -> M0

Source§

fn get_component_in_children_3<M0: IlType + Copy + ClassIdentity>(self) -> M0

Source§

fn get_components_in_children<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, ) -> Array<M0>

Source§

fn get_components_in_children_2<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, result: impl Into<List_1<M0>>, )

Source§

fn get_components_in_children_3<M0: IlType + Copy + ClassIdentity>( self, ) -> Array<M0>

Source§

fn get_components_in_children_4<M0: IlType + Copy + ClassIdentity>( self, results: impl Into<List_1<M0>>, )

Source§

fn get_component_in_parent(self, t: impl Into<SystemType>) -> Component

GetComponentInParent(::unity::SystemType) overload
Source§

fn get_component_in_parent_2<M0: IlType + Copy + ClassIdentity>(self) -> M0

Source§

fn get_components_in_parent<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, ) -> Array<M0>

Source§

fn get_components_in_parent_2<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, results: impl Into<List_1<M0>>, )

Source§

fn get_components_in_parent_3<M0: IlType + Copy + ClassIdentity>( self, ) -> Array<M0>

Source§

fn get_components_for_list_internal( self, search_type: impl Into<SystemType>, result_list: impl Into<Object>, )

GetComponentsForListInternal(::unity::SystemType, crate::system::object::Object) overload
Source§

fn get_components( self, type: impl Into<SystemType>, results: impl Into<List_1<Component>>, )

GetComponents(::unity::SystemType, crate::system::collections::generic::list_1::List_1<crate::unity_engine::component::Component>) overload
Source§

fn get_components_2<M0: IlType + Copy + ClassIdentity>( self, results: impl Into<List_1<M0>>, )

Source§

fn get_tag(self) -> Il2CppString

get_tag() overload
Source§

fn set_tag(self, value: impl Into<Il2CppString>)

set_tag(::unity::Il2CppString) overload
Source§

fn get_components_3<M0: IlType + Copy + ClassIdentity>(self) -> Array<M0>

Source§

fn compare_tag(self, tag: impl Into<Il2CppString>) -> bool

CompareTag(::unity::Il2CppString) overload
Source§

fn ctor(self)

.ctor() overload
Source§

impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get(self) -> (T0, T0)
where Self: Sized,

Source§

impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: Dictionary_2<T0, T1>, get_enumerator_ret_type: i32)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> KeyValuePair_2<T0, T1>
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntry
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_key(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_value(self) -> Object
where Self: Sized,

Source§

impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: Dictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: Dictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T1
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> IExposedReference_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn resolve(self, resolver: IExposedPropertyTable) -> T0
where Self: Sized,

Source§

impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, set: HashSet_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U

Source§

fn ctor(self, key: T0, value: T1)
where Self: Sized,

Source§

fn get_key(self) -> T0
where Self: Sized,

Source§

fn get_value(self) -> T1
where Self: Sized,

Source§

fn to_string(self) -> Il2CppString
where Self: Sized,

Source§

impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, initialize: bool)
where Self: Sized,

Source§

fn ctor_2(self, max_capacity: i32)
where Self: Sized,

Source§

fn add_range(self, items: IEnumerable_1<T0>)
where Self: Sized,

Source§

fn copy_to(self, array: Array<T0>, array_index: i32, count: i32)
where Self: Sized,

Source§

fn get_buffer(self, index: i32) -> Array<T0>
where Self: Sized,

Source§

fn to_array(self) -> Array<T0>
where Self: Sized,

Source§

fn try_move(self) -> (bool, Array<T0>)
where Self: Sized,

Source§

fn allocate_buffer(self)
where Self: Sized,

Source§

impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, list: LinkedList_1<T0>)
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn system_runtime_serialization_i_deserialization_callback_on_deserialization( self, sender: Object, )
where Self: Sized,

Source§

impl<T0, __U> IListBuffer_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get_count(self) -> i32
where Self: Sized,

Source§

fn get_capacity(self) -> i32
where Self: Sized,

Source§

fn get_item(self) -> (*mut T0, i32)
where Self: Sized,

Source§

fn get_unchecked(self) -> (*mut T0, i32)
where Self: Sized,

Source§

fn try_add(self) -> (bool, T0)
where Self: Sized,

Source§

fn try_copy_to(self, other: ListBuffer_1<T0>) -> bool
where Self: Sized,

Source§

impl<T0, __U> IList_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, list: List_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn move_next_rare(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<__T> IObjectMethods for __T
where __T: IObject,

Source§

fn equals(self, obj: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload
Source§

fn ctor(self)

.ctor() overload
Source§

fn finalize(self)

Finalize() overload
Source§

fn get_hash_code(self) -> i32

GetHashCode() overload
Source§

fn get_type(self) -> SystemType

GetType() overload
Source§

fn memberwise_clone(self) -> Object

MemberwiseClone() overload
Source§

fn to_string(self) -> Il2CppString

ToString() overload
Source§

fn field_getter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, ) -> IlInstance

FieldGetter(::unity::Il2CppString, ::unity::Il2CppString, *mut::unity::IlInstance) overload
Source§

fn field_setter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, val: impl Into<Object>, )

FieldSetter(::unity::Il2CppString, ::unity::Il2CppString, crate::system::object::Object) overload
Source§

impl<T0, __U> IObjectPool_1_PooledObjectMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, value: T0, pool: ObjectPool_1_2<T0>)
where Self: Sized,

Source§

fn system_i_disposable_dispose(self)
where Self: Sized,

Source§

impl<__T> IObject_2Methods for __T
where __T: IObject_2,

Source§

fn get_instance_id(self) -> i32

GetInstanceID() overload
Source§

fn get_hash_code(self) -> i32

GetHashCode() overload
Source§

fn equals(self, other: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload
Source§

fn ensure_running_on_main_thread(self)

EnsureRunningOnMainThread() overload
Source§

fn get_cached_ptr(self) -> IntPtr

GetCachedPtr() overload
Source§

fn get_name(self) -> Il2CppString

get_name() overload
Source§

fn set_name(self, value: impl Into<Il2CppString>)

set_name(::unity::Il2CppString) overload
Source§

fn get_hide_flags(self) -> HideFlags

get_hideFlags() overload
Source§

fn set_hide_flags(self, value: impl Into<HideFlags>)

set_hideFlags(crate::unity_engine::hideflags::HideFlags) overload
Source§

fn to_string(self) -> Il2CppString

ToString() overload
Source§

fn ctor(self)

.ctor() overload
Source§

impl<T0, __U> IQueue_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, q: Queue_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn throw_enumeration_not_started_or_ended(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> IScriptPlayable_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get_null() -> ScriptPlayable_1<T0>

Source§

fn create(graph: PlayableGraph, input_count: i32) -> ScriptPlayable_1<T0>

Source§

fn create_2( graph: PlayableGraph, template: T0, input_count: i32, ) -> ScriptPlayable_1<T0>

Source§

fn create_handle( graph: PlayableGraph, template: T0, input_count: i32, ) -> PlayableHandle

Source§

fn create_script_instance() -> Object

Source§

fn clone_script_instance(source: IPlayableBehaviour_Interface) -> Object

Source§

fn clone_script_instance_from_engine_object(source: Object_2) -> Object

Source§

fn ctor(self, handle: PlayableHandle)
where Self: Sized,

Source§

fn get_handle(self) -> PlayableHandle
where Self: Sized,

Source§

fn get_behaviour(self) -> T0
where Self: Sized,

Source§

fn op_implicit(playable: ScriptPlayable_1<T0>) -> Playable

Source§

fn op_explicit(playable: Playable) -> ScriptPlayable_1<T0>

Source§

fn equals(self, other: ScriptPlayable_1<T0>) -> bool
where Self: Sized,

Source§

fn cctor()

Source§

impl<T0, T1, __U> ISortedDictionary_2_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor( self, dictionary: SortedDictionary_2<T0, T1>, get_enumerator_ret_type: i32, )
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn get_current(self) -> KeyValuePair_2<T0, T1>
where Self: Sized,

Source§

fn get_not_started_or_ended(self) -> bool
where Self: Sized,

Source§

fn reset(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_key(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_value(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntry
where Self: Sized,

Source§

impl<T0, T1, __U> ISortedDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: SortedDictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, T1, __U> ISortedDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: SortedDictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T1
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> ISortedSet_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, set: SortedSet_1<T0>)
where Self: Sized,

Source§

fn ctor_2(self, set: SortedSet_1<T0>, reverse: bool)
where Self: Sized,

Source§

fn system_runtime_serialization_i_deserialization_callback_on_deserialization( self, sender: Object, )
where Self: Sized,

Source§

fn initialize(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn get_not_started_or_ended(self) -> bool
where Self: Sized,

Source§

fn reset(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn cctor()

Source§

impl<T0, __U> IStack_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, stack: Stack_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn throw_enumeration_not_started_or_ended(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> ITMP_TextProcessingStack_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, stack: Array<T0>)
where Self: Sized,

Source§

fn ctor_2(self, capacity: i32)
where Self: Sized,

Source§

fn ctor_3(self, capacity: i32, rollover_size: i32)
where Self: Sized,

Source§

fn get_count(self) -> i32
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn get_rollover_size(self) -> i32
where Self: Sized,

Source§

fn set_rollover_size(self, value: i32)
where Self: Sized,

Source§

fn set_default(stack: Array<TMP_TextProcessingStack_1<T0>>, item: T0)

Source§

fn clear(self)
where Self: Sized,

Source§

fn set_default_2(self, item: T0)
where Self: Sized,

Source§

fn add(self, item: T0)
where Self: Sized,

Source§

fn remove(self) -> T0
where Self: Sized,

Source§

fn push(self, item: T0)
where Self: Sized,

Source§

fn pop(self) -> T0
where Self: Sized,

Source§

fn peek(self) -> T0
where Self: Sized,

Source§

fn current_item(self) -> T0
where Self: Sized,

Source§

fn previous_item(self) -> T0
where Self: Sized,

§

impl<T> IlNull for T
where T: FromIlInstance,

§

fn null() -> Self

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T> SystemObject for T
where T: Copy + Into<IlInstance>,

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.