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§
Sourcefn get_camera_distance_2(self) -> f32
fn get_camera_distance_2(self) -> f32
GetCameraDistance() overload
Sourcefn get_camera_rotate(self) -> Vector3
fn get_camera_rotate(self) -> Vector3
GetCameraRotate() overload
Sourcefn get_back_mode(
self,
mode: impl Into<MapCursor_DistanceMode>,
) -> MapCursor_DistanceMode
fn get_back_mode( self, mode: impl Into<MapCursor_DistanceMode>, ) -> MapCursor_DistanceMode
GetBackMode(crate::app::mapcursor::MapCursor_DistanceMode) overload
Sourcefn get_zoom_mode(
self,
mode: impl Into<MapCursor_DistanceMode>,
) -> MapCursor_DistanceMode
fn get_zoom_mode( self, mode: impl Into<MapCursor_DistanceMode>, ) -> MapCursor_DistanceMode
GetZoomMode(crate::app::mapcursor::MapCursor_DistanceMode) overload
Sourcefn get_next_mode(
self,
mode: impl Into<MapCursor_DistanceMode>,
dir: impl Into<i32>,
) -> MapCursor_DistanceMode
fn get_next_mode( self, mode: impl Into<MapCursor_DistanceMode>, dir: impl Into<i32>, ) -> MapCursor_DistanceMode
GetNextMode(crate::app::mapcursor::MapCursor_DistanceMode, i32) overload
Sourcefn toggle_cursor_move_size(self)
fn toggle_cursor_move_size(self)
ToggleCursorMoveSize() overload
Sourcefn calc_cursor_top_pos(self) -> Vector3
fn calc_cursor_top_pos(self) -> Vector3
CalcCursorTopPos() overload
Sourcefn calc_cursor_bottom_pos(self) -> Vector3
fn calc_cursor_bottom_pos(self) -> Vector3
CalcCursorBottomPos() overload
Sourcefn get_cursor_time(
self,
prev: impl Into<Vector3>,
next: impl Into<Vector3>,
) -> f32
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
Sourcefn get_cursor_speed(self) -> f32
fn get_cursor_speed(self) -> f32
GetCursorSpeed() overload
Sourcefn get_move_pos(
self,
prev: impl Into<f32>,
next: impl Into<f32>,
speed: impl Into<f32>,
) -> f32
fn get_move_pos( self, prev: impl Into<f32>, next: impl Into<f32>, speed: impl Into<f32>, ) -> f32
GetMovePos(f32, f32, f32) overload
Sourcefn get_move_pos_2(
self,
prev: impl Into<Vector3>,
next: impl Into<Vector3>,
speed: impl Into<f32>,
) -> Vector3
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
Sourcefn get_digital_move(self, button: impl Into<NpadButton>) -> f32
fn get_digital_move(self, button: impl Into<NpadButton>) -> f32
GetDigitalMove(crate::nn::hid::npadbutton::NpadButton) overload
Sourcefn try_border_sound(self, old: impl Into<Vector3>, pos: impl Into<Vector3>)
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
Sourcefn calc_digital_move(self)
fn calc_digital_move(self)
CalcDigitalMove() overload
Sourcefn calc_analog_move(self)
fn calc_analog_move(self)
CalcAnalogMove() overload
Sourcefn update_enter_pos(self)
fn update_enter_pos(self)
UpdateEnterPos() overload
Sourcefn reset_enter_pos(self)
fn reset_enter_pos(self)
ResetEnterPos() overload
Sourcefn adjust_position(self)
fn adjust_position(self)
AdjustPosition() overload
Sourcefn tick_input_reset(self)
fn tick_input_reset(self)
TickInputReset() overload
Sourcefn tick_input_move(self, is_trigger: impl Into<bool>)
fn tick_input_move(self, is_trigger: impl Into<bool>)
TickInputMove(bool) overload
Sourcefn try_play_camera_move_se(self)
fn try_play_camera_move_se(self)
TryPlayCameraMoveSe() overload
Sourcefn try_stop_camera_move_se(self)
fn try_stop_camera_move_se(self)
TryStopCameraMoveSe() overload
Sourcefn tick_input_rotate(self)
fn tick_input_rotate(self)
TickInputRotate() overload
Sourcefn tick_input_danger(self)
fn tick_input_danger(self)
TickInputDanger() overload
Sourcefn commit_camera(self)
fn commit_camera(self)
CommitCamera() overload
Sourcefn commit_camera_position(self, speed: impl Into<f32>)
fn commit_camera_position(self, speed: impl Into<f32>)
CommitCameraPosition(f32) overload
Sourcefn commit_camera_rotate(self)
fn commit_camera_rotate(self)
CommitCameraRotate() overload
Sourcefn update_position(self)
fn update_position(self)
UpdatePosition() overload
Sourcefn clamp_position(self) -> Vector3
fn clamp_position(self) -> Vector3
ClampPosition(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_color(self, color: impl Into<Color>)
fn set_color(self, color: impl Into<Color>)
SetColor(crate::unity_engine::color::Color) overload
Sourcefn set_color_2(self)
fn set_color_2(self)
SetColor() overload
Sourcefn instant_impl(self)
fn instant_impl(self)
InstantImpl() overload
Sourcefn set_impl(
self,
pos: impl Into<Vector3>,
speed: impl Into<f32>,
is_update_enter_pos: impl Into<bool>,
)
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
Sourcefn update_visible(self)
fn update_visible(self)
UpdateVisible() overload
Sourcefn get_version(self) -> i32
fn get_version(self) -> i32
get_Version() overload
Sourcefn on_serialize(self, stream: impl Into<Stream_2>)
fn on_serialize(self, stream: impl Into<Stream_2>)
OnSerialize(crate::app::stream_2::Stream_2) overload
Sourcefn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
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§
impl<__T: IMapCursor> IMapCursorMethods for __T
app-mapcursor only.