Skip to main content

ICharacterMove

Trait ICharacterMove 

Source
pub trait ICharacterMove: IMonoBehaviour {
Show 22 methods // Provided methods fn cp(self) -> Character { ... } fn set_cp(self, value: Character) { ... } fn max_run_speed_kmps(self) -> f32 { ... } fn set_max_run_speed_kmps(self, value: f32) { ... } fn time_to_max_speed(self) -> f32 { ... } fn set_time_to_max_speed(self, value: f32) { ... } fn time_to_zero(self) -> f32 { ... } fn set_time_to_zero(self, value: f32) { ... } fn height_smooth_ratio(self) -> f32 { ... } fn set_height_smooth_ratio(self, value: f32) { ... } fn stair_interpolation_limit(self) -> f32 { ... } fn set_stair_interpolation_limit(self, value: f32) { ... } fn m_state(self) -> CharacterMove_State { ... } fn set_m_state(self, value: CharacterMove_State) { ... } fn m_goal(self) -> FXZ { ... } fn set_m_goal(self, value: FXZ) { ... } fn m_velocity(self) -> f32 { ... } fn set_m_velocity(self, value: f32) { ... } fn m_prev_y(self) -> f32 { ... } fn set_m_prev_y(self, value: f32) { ... } fn m_jump(self) -> CharacterJump { ... } fn set_m_jump(self, value: CharacterJump) { ... }
}

Provided Methods§

Source

fn cp(self) -> Character

Source

fn set_cp(self, value: Character)

Source

fn max_run_speed_kmps(self) -> f32

Source

fn set_max_run_speed_kmps(self, value: f32)

Source

fn time_to_max_speed(self) -> f32

Source

fn set_time_to_max_speed(self, value: f32)

Source

fn time_to_zero(self) -> f32

Source

fn set_time_to_zero(self, value: f32)

Source

fn height_smooth_ratio(self) -> f32

Source

fn set_height_smooth_ratio(self, value: f32)

Source

fn stair_interpolation_limit(self) -> f32

Source

fn set_stair_interpolation_limit(self, value: f32)

Source

fn m_state(self) -> CharacterMove_State

Source

fn set_m_state(self, value: CharacterMove_State)

Source

fn m_goal(self) -> FXZ

Source

fn set_m_goal(self, value: FXZ)

Source

fn m_velocity(self) -> f32

Source

fn set_m_velocity(self, value: f32)

Source

fn m_prev_y(self) -> f32

Source

fn set_m_prev_y(self, value: f32)

Source

fn m_jump(self) -> CharacterJump

Source

fn set_m_jump(self, value: CharacterJump)

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§