Skip to main content

IParabolaMethods

Trait IParabolaMethods 

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

Source

fn get_in_speed(self) -> f32

get_in_Speed() overload

Source

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

set_in_Speed(f32) overload

Source

fn get_in_mass(self) -> f32

get_in_Mass() overload

Source

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

set_in_Mass(f32) overload

Source

fn get_in_start_pos(self) -> Vector3

get_in_StartPos() overload

Source

fn set_in_start_pos(self, value: impl Into<Vector3>)

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

Source

fn get_in_end_pos(self) -> Vector3

get_in_EndPos() overload

Source

fn set_in_end_pos(self, value: impl Into<Vector3>)

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

Source

fn get_in_weapon_length(self) -> f32

get_in_WeaponLength() overload

Source

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

set_in_WeaponLength(f32) overload

Source

fn get_out_flying_time(self) -> f32

get_out_FlyingTime() overload

Source

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

set_out_FlyingTime(f32) overload

Source

fn get_out_initial_velocity(self) -> Vector3

get_out_InitialVelocity() overload

Source

fn set_out_initial_velocity(self, value: impl Into<Vector3>)

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

Source

fn get_out_world_hit_dir(self) -> Vector3

get_out_WorldHitDir() overload

Source

fn set_out_world_hit_dir(self, value: impl Into<Vector3>)

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

Source

fn get_world_centroid_offset(self) -> Vector3

get_WorldCentroidOffset() overload

Source

fn calculate(self)

Calculate() overload

Source

fn calc_hit_dir(self) -> Vector3

CalcHitDir() overload

Source

fn recalc_initial_velocity(self, flying_time: impl Into<f32>)

RecalcInitialVelocity(f32) 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: IParabola> IParabolaMethods for __T

Available on crate feature combat-parabola only.