Skip to main content

IHubCameraMethods

Trait IHubCameraMethods 

Source
pub trait IHubCameraMethods: IHubCamera {
Show 42 methods // Provided methods fn get_is_stop(self) -> bool { ... } fn set_is_stop(self, value: impl Into<bool>) { ... } fn get_angle_y(self) -> f32 { ... } fn get_is_adjust_position(self) -> bool { ... } fn get_is_adjust_position_sub(self) -> bool { ... } fn get_is_adjust_height(self) -> bool { ... } fn get_is_prediction_height(self) -> bool { ... } fn get_prediction_height_time(self) -> f32 { ... } fn get_is_maximum_zoom(self) -> bool { ... } fn get_zoom_speed(self) -> f32 { ... } fn get_zoom_interpolate_time(self) -> f32 { ... } fn get_zoom_distance_time(self) -> f32 { ... } fn get_camera_speed(self) -> f32 { ... } fn get_camera_radius(self) -> f32 { ... } fn get_camera_position_time(self) -> f32 { ... } fn get_pitch_param(self) -> f32 { ... } fn get_pitch_blank_param(self) -> f32 { ... } fn get_pitch_height_param(self) -> f32 { ... } fn get_zoom_param(self) -> f32 { ... } fn set_zoom_param(self, value: impl Into<f32>) { ... } fn get_camera_roatete_param_name(self) -> Il2CppString { ... } fn reset(self, zoom_step: impl Into<i32>) { ... } fn start(self) { ... } fn update(self) { ... } fn update_key(self) { ... } fn commit(self) { ... } fn reset_2(self, y: impl Into<f32>) { ... } fn set_angle_y(self, y: impl Into<f32>) { ... } fn set_angle_x(self, x: impl Into<f32>) { ... } fn instant(self) { ... } fn get_zoom_ratio(self) -> f32 { ... } fn set_zoom(self, zoom: impl Into<f32>) { ... } fn check_scroll(self) -> bool { ... } fn check_scroll_strictly(self) -> bool { ... } fn start_manual_camera_normal_talk( self, player: impl Into<Vector3>, target: impl Into<Vector3>, ) { ... } fn start_manual_camera_face_main_talk( self, player: impl Into<Vector3>, target: impl Into<Vector3>, forward: impl Into<Vector3>, ) { ... } fn start_manual_camera_shop_talk( self, player: impl Into<Vector3>, target: impl Into<Vector3>, ) { ... } fn start_manual_camera( self, source: impl Into<Vector3>, target: impl Into<Vector3>, ratio: impl Into<f32>, angle_x: impl Into<f32>, angle_y: impl Into<f32>, zoom: impl Into<f32>, separate_distance: impl Into<f32>, offset_y: impl Into<f32>, move_time: impl Into<f32>, ) { ... } fn intersect( self, source: impl Into<Vector3>, target: impl Into<Vector3>, ratio: impl Into<f32>, angle_x: impl Into<f32>, angle_y: impl Into<f32>, zoom: impl Into<f32>, separate_distance: impl Into<f32>, offset_y: impl Into<f32>, ) -> bool { ... } fn return_manual_camera(self) { ... } fn return_manual_camera_2(self, return_time: impl Into<f32>) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_is_stop(self) -> bool

get_IsStop() overload

Source

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

set_IsStop(bool) overload

Source

fn get_angle_y(self) -> f32

get_AngleY() overload

Source

fn get_is_adjust_position(self) -> bool

get_IsAdjustPosition() overload

Source

fn get_is_adjust_position_sub(self) -> bool

get_IsAdjustPositionSub() overload

Source

fn get_is_adjust_height(self) -> bool

get_IsAdjustHeight() overload

Source

fn get_is_prediction_height(self) -> bool

get_IsPredictionHeight() overload

Source

fn get_prediction_height_time(self) -> f32

get_PredictionHeightTime() overload

Source

fn get_is_maximum_zoom(self) -> bool

get_IsMaximumZoom() overload

Source

fn get_zoom_speed(self) -> f32

get_ZoomSpeed() overload

Source

fn get_zoom_interpolate_time(self) -> f32

get_ZoomInterpolateTime() overload

Source

fn get_zoom_distance_time(self) -> f32

get_ZoomDistanceTime() overload

Source

fn get_camera_speed(self) -> f32

get_CameraSpeed() overload

Source

fn get_camera_radius(self) -> f32

get_CameraRadius() overload

Source

fn get_camera_position_time(self) -> f32

get_CameraPositionTime() overload

Source

fn get_pitch_param(self) -> f32

get_PitchParam() overload

Source

fn get_pitch_blank_param(self) -> f32

get_PitchBlankParam() overload

Source

fn get_pitch_height_param(self) -> f32

get_PitchHeightParam() overload

Source

fn get_zoom_param(self) -> f32

get_ZoomParam() overload

Source

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

set_ZoomParam(f32) overload

Source

fn get_camera_roatete_param_name(self) -> Il2CppString

get_CameraRoateteParamName() overload

Source

fn reset(self, zoom_step: impl Into<i32>)

Reset(i32) overload

Source

fn start(self)

Start() overload

Source

fn update(self)

Update() overload

Source

fn update_key(self)

UpdateKey() overload

Source

fn commit(self)

Commit() overload

Source

fn reset_2(self, y: impl Into<f32>)

Reset(f32) overload

Source

fn set_angle_y(self, y: impl Into<f32>)

SetAngleY(f32) overload

Source

fn set_angle_x(self, x: impl Into<f32>)

SetAngleX(f32) overload

Source

fn instant(self)

Instant() overload

Source

fn get_zoom_ratio(self) -> f32

GetZoomRatio() overload

Source

fn set_zoom(self, zoom: impl Into<f32>)

SetZoom(f32) overload

Source

fn check_scroll(self) -> bool

CheckScroll() overload

Source

fn check_scroll_strictly(self) -> bool

CheckScrollStrictly() overload

Source

fn start_manual_camera_normal_talk( self, player: impl Into<Vector3>, target: impl Into<Vector3>, )

StartManualCamera_NormalTalk(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload

Source

fn start_manual_camera_face_main_talk( self, player: impl Into<Vector3>, target: impl Into<Vector3>, forward: impl Into<Vector3>, )

StartManualCamera_FaceMainTalk(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload

Source

fn start_manual_camera_shop_talk( self, player: impl Into<Vector3>, target: impl Into<Vector3>, )

StartManualCamera_ShopTalk(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload

Source

fn start_manual_camera( self, source: impl Into<Vector3>, target: impl Into<Vector3>, ratio: impl Into<f32>, angle_x: impl Into<f32>, angle_y: impl Into<f32>, zoom: impl Into<f32>, separate_distance: impl Into<f32>, offset_y: impl Into<f32>, move_time: impl Into<f32>, )

StartManualCamera(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, f32, f32, f32, f32, f32, f32, f32) overload

Source

fn intersect( self, source: impl Into<Vector3>, target: impl Into<Vector3>, ratio: impl Into<f32>, angle_x: impl Into<f32>, angle_y: impl Into<f32>, zoom: impl Into<f32>, separate_distance: impl Into<f32>, offset_y: impl Into<f32>, ) -> bool

Intersect(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, f32, f32, f32, f32, f32, f32) overload

Source

fn return_manual_camera(self)

ReturnManualCamera() overload

Source

fn return_manual_camera_2(self, return_time: impl Into<f32>)

ReturnManualCamera(f32) overload

Source

fn ctor(self)

.ctor() 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: IHubCamera> IHubCameraMethods for __T

Available on crate feature app-hubcamera only.