Skip to main content

IGmapCameraMethods

Trait IGmapCameraMethods 

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

Source

fn get_zoom_distance(self) -> f32

get_ZoomDistance() overload

Source

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

set_ZoomDistance(f32) overload

Source

fn get_position(self) -> Vector3

get_Position() overload

Source

fn get_camera_position(self) -> Vector3

get_CameraPosition() overload

Source

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

set_IsCameraTracking(bool) overload

Source

fn get_is_camera_tracking(self) -> bool

get_IsCameraTracking() overload

Source

fn start(self)

Start() overload

Source

fn update(self)

Update() overload

Source

fn tick(self)

Tick() overload

Source

fn update_key(self)

UpdateKey() overload

Source

fn commit(self)

Commit() overload

Source

fn instant(self)

Instant() overload

Source

fn active_camera(self)

ActiveCamera() overload

Source

fn get_camera_distance_mode(self) -> GmapCamera_DistanceMode

GetCameraDistanceMode() overload

Source

fn get_back_mode( self, mode: impl Into<GmapCamera_DistanceMode>, ) -> GmapCamera_DistanceMode

GetBackMode(crate::app::gmapcamera::GmapCamera_DistanceMode) overload

Source

fn get_zoom_mode( self, mode: impl Into<GmapCamera_DistanceMode>, ) -> GmapCamera_DistanceMode

GetZoomMode(crate::app::gmapcamera::GmapCamera_DistanceMode) overload

Source

fn get_next_mode( self, mode: impl Into<GmapCamera_DistanceMode>, dir: impl Into<f32>, ) -> GmapCamera_DistanceMode

GetNextMode(crate::app::gmapcamera::GmapCamera_DistanceMode, f32) overload

Source

fn set_position( self, position: impl Into<Vector3>, is_free_camera: impl Into<bool>, ) -> Vector3

SetPosition(crate::unity_engine::vector3::Vector3, bool) overload

Source

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

Zoom(f32) overload

Source

fn set_zoom_param(self, index: impl Into<i32>)

SetZoomParam(i32) overload

Source

fn set_look_over(self, look_over_camera_position: impl Into<Vector3>)

SetLookOver(crate::unity_engine::vector3::Vector3) overload

Source

fn cancel_look_over(self, return_position: impl Into<Vector3>)

CancelLookOver(crate::unity_engine::vector3::Vector3) overload

Source

fn check_scroll(self) -> bool

CheckScroll() overload

Source

fn check_scroll_strictly(self) -> bool

CheckScrollStrictly() 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: IGmapCamera> IGmapCameraMethods for __T

Available on crate feature app-gmapcamera only.