pub trait IGmapCameraMethods: IGmapCamera {
Show 25 methods
// Provided methods
fn get_zoom_distance(self) -> f32 { ... }
fn set_zoom_distance(self, value: impl Into<f32>) { ... }
fn get_position(self) -> Vector3 { ... }
fn get_camera_position(self) -> Vector3 { ... }
fn set_is_camera_tracking(self, value: impl Into<bool>) { ... }
fn get_is_camera_tracking(self) -> bool { ... }
fn start(self) { ... }
fn update(self) { ... }
fn tick(self) { ... }
fn update_key(self) { ... }
fn commit(self) { ... }
fn instant(self) { ... }
fn active_camera(self) { ... }
fn get_camera_distance_mode(self) -> GmapCamera_DistanceMode { ... }
fn get_back_mode(
self,
mode: impl Into<GmapCamera_DistanceMode>,
) -> GmapCamera_DistanceMode { ... }
fn get_zoom_mode(
self,
mode: impl Into<GmapCamera_DistanceMode>,
) -> GmapCamera_DistanceMode { ... }
fn get_next_mode(
self,
mode: impl Into<GmapCamera_DistanceMode>,
dir: impl Into<f32>,
) -> GmapCamera_DistanceMode { ... }
fn set_position(
self,
position: impl Into<Vector3>,
is_free_camera: impl Into<bool>,
) -> Vector3 { ... }
fn zoom(self, value: impl Into<f32>) { ... }
fn set_zoom_param(self, index: impl Into<i32>) { ... }
fn set_look_over(self, look_over_camera_position: impl Into<Vector3>) { ... }
fn cancel_look_over(self, return_position: impl Into<Vector3>) { ... }
fn check_scroll(self) -> bool { ... }
fn check_scroll_strictly(self) -> bool { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_zoom_distance(self) -> f32
fn get_zoom_distance(self) -> f32
get_ZoomDistance() overload
Sourcefn set_zoom_distance(self, value: impl Into<f32>)
fn set_zoom_distance(self, value: impl Into<f32>)
set_ZoomDistance(f32) overload
Sourcefn get_position(self) -> Vector3
fn get_position(self) -> Vector3
get_Position() overload
Sourcefn get_camera_position(self) -> Vector3
fn get_camera_position(self) -> Vector3
get_CameraPosition() overload
Sourcefn set_is_camera_tracking(self, value: impl Into<bool>)
fn set_is_camera_tracking(self, value: impl Into<bool>)
set_IsCameraTracking(bool) overload
Sourcefn get_is_camera_tracking(self) -> bool
fn get_is_camera_tracking(self) -> bool
get_IsCameraTracking() overload
Sourcefn update_key(self)
fn update_key(self)
UpdateKey() overload
Sourcefn active_camera(self)
fn active_camera(self)
ActiveCamera() overload
Sourcefn get_camera_distance_mode(self) -> GmapCamera_DistanceMode
fn get_camera_distance_mode(self) -> GmapCamera_DistanceMode
GetCameraDistanceMode() overload
Sourcefn get_back_mode(
self,
mode: impl Into<GmapCamera_DistanceMode>,
) -> GmapCamera_DistanceMode
fn get_back_mode( self, mode: impl Into<GmapCamera_DistanceMode>, ) -> GmapCamera_DistanceMode
GetBackMode(crate::app::gmapcamera::GmapCamera_DistanceMode) overload
Sourcefn get_zoom_mode(
self,
mode: impl Into<GmapCamera_DistanceMode>,
) -> GmapCamera_DistanceMode
fn get_zoom_mode( self, mode: impl Into<GmapCamera_DistanceMode>, ) -> GmapCamera_DistanceMode
GetZoomMode(crate::app::gmapcamera::GmapCamera_DistanceMode) overload
Sourcefn get_next_mode(
self,
mode: impl Into<GmapCamera_DistanceMode>,
dir: impl Into<f32>,
) -> GmapCamera_DistanceMode
fn get_next_mode( self, mode: impl Into<GmapCamera_DistanceMode>, dir: impl Into<f32>, ) -> GmapCamera_DistanceMode
GetNextMode(crate::app::gmapcamera::GmapCamera_DistanceMode, f32) overload
Sourcefn set_position(
self,
position: impl Into<Vector3>,
is_free_camera: impl Into<bool>,
) -> Vector3
fn set_position( self, position: impl Into<Vector3>, is_free_camera: impl Into<bool>, ) -> Vector3
SetPosition(crate::unity_engine::vector3::Vector3, bool) overload
Sourcefn set_zoom_param(self, index: impl Into<i32>)
fn set_zoom_param(self, index: impl Into<i32>)
SetZoomParam(i32) overload
Sourcefn set_look_over(self, look_over_camera_position: impl Into<Vector3>)
fn set_look_over(self, look_over_camera_position: impl Into<Vector3>)
SetLookOver(crate::unity_engine::vector3::Vector3) overload
Sourcefn cancel_look_over(self, return_position: impl Into<Vector3>)
fn cancel_look_over(self, return_position: impl Into<Vector3>)
CancelLookOver(crate::unity_engine::vector3::Vector3) overload
Sourcefn check_scroll(self) -> bool
fn check_scroll(self) -> bool
CheckScroll() overload
Sourcefn check_scroll_strictly(self) -> bool
fn check_scroll_strictly(self) -> bool
CheckScrollStrictly() 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: IGmapCamera> IGmapCameraMethods for __T
app-gmapcamera only.