Skip to main content

IMapCursorMethods

Trait IMapCursorMethods 

Source
pub trait IMapCursorMethods: IMapCursor {
Show 44 methods // Provided methods fn get_camera_distance_2(self) -> f32 { ... } fn get_camera_rotate(self) -> Vector3 { ... } fn get_back_mode( self, mode: impl Into<MapCursor_DistanceMode>, ) -> MapCursor_DistanceMode { ... } fn get_zoom_mode( self, mode: impl Into<MapCursor_DistanceMode>, ) -> MapCursor_DistanceMode { ... } fn get_next_mode( self, mode: impl Into<MapCursor_DistanceMode>, dir: impl Into<i32>, ) -> MapCursor_DistanceMode { ... } fn ctor(self) { ... } fn on_tick(self) { ... } fn on_update(self) { ... } fn toggle_cursor_move_size(self) { ... } fn calc_cursor_top_pos(self) -> Vector3 { ... } fn calc_cursor_bottom_pos(self) -> Vector3 { ... } fn get_cursor_time( self, prev: impl Into<Vector3>, next: impl Into<Vector3>, ) -> f32 { ... } fn get_cursor_speed(self) -> f32 { ... } fn get_move_pos( self, prev: impl Into<f32>, next: impl Into<f32>, speed: impl Into<f32>, ) -> f32 { ... } fn get_move_pos_2( self, prev: impl Into<Vector3>, next: impl Into<Vector3>, speed: impl Into<f32>, ) -> Vector3 { ... } fn get_digital_move(self, button: impl Into<NpadButton>) -> f32 { ... } fn try_border_sound(self, old: impl Into<Vector3>, pos: impl Into<Vector3>) { ... } fn calc_digital_move(self) { ... } fn calc_analog_move(self) { ... } fn update_enter_pos(self) { ... } fn reset_enter_pos(self) { ... } fn adjust_position(self) { ... } fn tick_input_reset(self) { ... } fn tick_input_move(self, is_trigger: impl Into<bool>) { ... } fn try_play_camera_move_se(self) { ... } fn try_stop_camera_move_se(self) { ... } fn tick_input_rotate(self) { ... } fn tick_input_danger(self) { ... } fn commit_camera(self) { ... } fn commit_camera_position(self, speed: impl Into<f32>) { ... } fn commit_camera_rotate(self) { ... } fn update_position(self) { ... } fn clamp_position(self) -> Vector3 { ... } fn set_color(self, color: impl Into<Color>) { ... } fn set_color_2(self) { ... } fn get_color(self) -> Color { ... } fn instant_impl(self) { ... } fn set_impl( self, pos: impl Into<Vector3>, speed: impl Into<f32>, is_update_enter_pos: impl Into<bool>, ) { ... } fn update_visible(self) { ... } fn on_bind(self) { ... } fn on_unbind(self) { ... } fn get_version(self) -> i32 { ... } fn on_serialize(self, stream: impl Into<Stream_2>) { ... } fn on_deserialize( self, stream: impl Into<Stream_2>, version: impl Into<i32>, ) { ... }
}

Provided Methods§

Source

fn get_camera_distance_2(self) -> f32

GetCameraDistance() overload

Source

fn get_camera_rotate(self) -> Vector3

GetCameraRotate() overload

Source

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

GetBackMode(crate::app::mapcursor::MapCursor_DistanceMode) overload

Source

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

GetZoomMode(crate::app::mapcursor::MapCursor_DistanceMode) overload

Source

fn get_next_mode( self, mode: impl Into<MapCursor_DistanceMode>, dir: impl Into<i32>, ) -> MapCursor_DistanceMode

GetNextMode(crate::app::mapcursor::MapCursor_DistanceMode, i32) overload

Source

fn ctor(self)

.ctor() overload

Source

fn on_tick(self)

OnTick() overload

Source

fn on_update(self)

OnUpdate() overload

Source

fn toggle_cursor_move_size(self)

ToggleCursorMoveSize() overload

Source

fn calc_cursor_top_pos(self) -> Vector3

CalcCursorTopPos() overload

Source

fn calc_cursor_bottom_pos(self) -> Vector3

CalcCursorBottomPos() overload

Source

fn get_cursor_time( self, prev: impl Into<Vector3>, next: impl Into<Vector3>, ) -> f32

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

Source

fn get_cursor_speed(self) -> f32

GetCursorSpeed() overload

Source

fn get_move_pos( self, prev: impl Into<f32>, next: impl Into<f32>, speed: impl Into<f32>, ) -> f32

GetMovePos(f32, f32, f32) overload

Source

fn get_move_pos_2( self, prev: impl Into<Vector3>, next: impl Into<Vector3>, speed: impl Into<f32>, ) -> Vector3

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

Source

fn get_digital_move(self, button: impl Into<NpadButton>) -> f32

GetDigitalMove(crate::nn::hid::npadbutton::NpadButton) overload

Source

fn try_border_sound(self, old: impl Into<Vector3>, pos: impl Into<Vector3>)

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

Source

fn calc_digital_move(self)

CalcDigitalMove() overload

Source

fn calc_analog_move(self)

CalcAnalogMove() overload

Source

fn update_enter_pos(self)

UpdateEnterPos() overload

Source

fn reset_enter_pos(self)

ResetEnterPos() overload

Source

fn adjust_position(self)

AdjustPosition() overload

Source

fn tick_input_reset(self)

TickInputReset() overload

Source

fn tick_input_move(self, is_trigger: impl Into<bool>)

TickInputMove(bool) overload

Source

fn try_play_camera_move_se(self)

TryPlayCameraMoveSe() overload

Source

fn try_stop_camera_move_se(self)

TryStopCameraMoveSe() overload

Source

fn tick_input_rotate(self)

TickInputRotate() overload

Source

fn tick_input_danger(self)

TickInputDanger() overload

Source

fn commit_camera(self)

CommitCamera() overload

Source

fn commit_camera_position(self, speed: impl Into<f32>)

CommitCameraPosition(f32) overload

Source

fn commit_camera_rotate(self)

CommitCameraRotate() overload

Source

fn update_position(self)

UpdatePosition() overload

Source

fn clamp_position(self) -> Vector3

ClampPosition(*mutcrate::unity_engine::vector3::Vector3) overload

Source

fn set_color(self, color: impl Into<Color>)

SetColor(crate::unity_engine::color::Color) overload

Source

fn set_color_2(self)

SetColor() overload

Source

fn get_color(self) -> Color

get_Color() overload

Source

fn instant_impl(self)

InstantImpl() overload

Source

fn set_impl( self, pos: impl Into<Vector3>, speed: impl Into<f32>, is_update_enter_pos: impl Into<bool>, )

SetImpl(crate::unity_engine::vector3::Vector3, f32, bool) overload

Source

fn update_visible(self)

UpdateVisible() overload

Source

fn on_bind(self)

OnBind() overload

Source

fn on_unbind(self)

OnUnbind() overload

Source

fn get_version(self) -> i32

get_Version() overload

Source

fn on_serialize(self, stream: impl Into<Stream_2>)

OnSerialize(crate::app::stream_2::Stream_2) overload

Source

fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)

OnDeserialize(crate::app::stream_2::Stream_2, i32) 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: IMapCursor> IMapCursorMethods for __T

Available on crate feature app-mapcursor only.