pub trait IParabolaMethods: IParabola {
Show 21 methods
// Provided methods
fn get_in_speed(self) -> f32 { ... }
fn set_in_speed(self, value: impl Into<f32>) { ... }
fn get_in_mass(self) -> f32 { ... }
fn set_in_mass(self, value: impl Into<f32>) { ... }
fn get_in_start_pos(self) -> Vector3 { ... }
fn set_in_start_pos(self, value: impl Into<Vector3>) { ... }
fn get_in_end_pos(self) -> Vector3 { ... }
fn set_in_end_pos(self, value: impl Into<Vector3>) { ... }
fn get_in_weapon_length(self) -> f32 { ... }
fn set_in_weapon_length(self, value: impl Into<f32>) { ... }
fn get_out_flying_time(self) -> f32 { ... }
fn set_out_flying_time(self, value: impl Into<f32>) { ... }
fn get_out_initial_velocity(self) -> Vector3 { ... }
fn set_out_initial_velocity(self, value: impl Into<Vector3>) { ... }
fn get_out_world_hit_dir(self) -> Vector3 { ... }
fn set_out_world_hit_dir(self, value: impl Into<Vector3>) { ... }
fn get_world_centroid_offset(self) -> Vector3 { ... }
fn calculate(self) { ... }
fn calc_hit_dir(self) -> Vector3 { ... }
fn recalc_initial_velocity(self, flying_time: impl Into<f32>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_in_speed(self) -> f32
fn get_in_speed(self) -> f32
get_in_Speed() overload
Sourcefn set_in_speed(self, value: impl Into<f32>)
fn set_in_speed(self, value: impl Into<f32>)
set_in_Speed(f32) overload
Sourcefn get_in_mass(self) -> f32
fn get_in_mass(self) -> f32
get_in_Mass() overload
Sourcefn set_in_mass(self, value: impl Into<f32>)
fn set_in_mass(self, value: impl Into<f32>)
set_in_Mass(f32) overload
Sourcefn get_in_start_pos(self) -> Vector3
fn get_in_start_pos(self) -> Vector3
get_in_StartPos() overload
Sourcefn set_in_start_pos(self, value: impl Into<Vector3>)
fn set_in_start_pos(self, value: impl Into<Vector3>)
set_in_StartPos(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_in_end_pos(self) -> Vector3
fn get_in_end_pos(self) -> Vector3
get_in_EndPos() overload
Sourcefn set_in_end_pos(self, value: impl Into<Vector3>)
fn set_in_end_pos(self, value: impl Into<Vector3>)
set_in_EndPos(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_in_weapon_length(self) -> f32
fn get_in_weapon_length(self) -> f32
get_in_WeaponLength() overload
Sourcefn set_in_weapon_length(self, value: impl Into<f32>)
fn set_in_weapon_length(self, value: impl Into<f32>)
set_in_WeaponLength(f32) overload
Sourcefn get_out_flying_time(self) -> f32
fn get_out_flying_time(self) -> f32
get_out_FlyingTime() overload
Sourcefn set_out_flying_time(self, value: impl Into<f32>)
fn set_out_flying_time(self, value: impl Into<f32>)
set_out_FlyingTime(f32) overload
Sourcefn get_out_initial_velocity(self) -> Vector3
fn get_out_initial_velocity(self) -> Vector3
get_out_InitialVelocity() overload
Sourcefn set_out_initial_velocity(self, value: impl Into<Vector3>)
fn set_out_initial_velocity(self, value: impl Into<Vector3>)
set_out_InitialVelocity(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_out_world_hit_dir(self) -> Vector3
fn get_out_world_hit_dir(self) -> Vector3
get_out_WorldHitDir() overload
Sourcefn set_out_world_hit_dir(self, value: impl Into<Vector3>)
fn set_out_world_hit_dir(self, value: impl Into<Vector3>)
set_out_WorldHitDir(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_world_centroid_offset(self) -> Vector3
fn get_world_centroid_offset(self) -> Vector3
get_WorldCentroidOffset() overload
Sourcefn calc_hit_dir(self) -> Vector3
fn calc_hit_dir(self) -> Vector3
CalcHitDir() overload
Sourcefn recalc_initial_velocity(self, flying_time: impl Into<f32>)
fn recalc_initial_velocity(self, flying_time: impl Into<f32>)
RecalcInitialVelocity(f32) 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: IParabola> IParabolaMethods for __T
combat-parabola only.