Skip to main content

IMagicBulletSettingsMethods

Trait IMagicBulletSettingsMethods 

Source
pub trait IMagicBulletSettingsMethods: IMagicBulletSettings {
    // Provided methods
    fn get_decay_time(self) -> f32 { ... }
    fn calc_flying_time(
        self,
        start_pos: impl Into<Vector3>,
        end_pos: impl Into<Vector3>,
    ) -> f32 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_decay_time(self) -> f32

get_DecayTime() overload

Source

fn calc_flying_time( self, start_pos: impl Into<Vector3>, end_pos: impl Into<Vector3>, ) -> f32

CalcFlyingTime(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) 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: IMagicBulletSettings> IMagicBulletSettingsMethods for __T

Available on crate feature combat-magicbulletsettings only.