Struct rust_rpg_toolkit::nodes::projectiles::ProjectileParams [−][src]
pub struct ProjectileParams {
pub kind: ProjectileKind,
pub effects: Vec<Effect>,
pub color: Color,
pub size: f32,
pub origin: Vec2,
pub direction: Vec2,
pub speed: f32,
pub range: f32,
pub on_hit_sound_effect: Option<Sound>,
}
Fields
kind: ProjectileKind
effects: Vec<Effect>
color: Color
size: f32
origin: Vec2
direction: Vec2
speed: f32
range: f32
on_hit_sound_effect: Option<Sound>
Auto Trait Implementations
impl RefUnwindSafe for ProjectileParams
impl Send for ProjectileParams
impl Sync for ProjectileParams
impl Unpin for ProjectileParams
impl UnwindSafe for ProjectileParams
Blanket Implementations
Mutably borrows from an owned value. Read more