pub struct ParticleInspector {Show 13 fields
pub preset: EnumField,
pub origin: Vec3Field,
pub active_count: IntField,
pub emit_rate: FloatField,
pub lifetime: FloatField,
pub speed: FloatField,
pub spread_angle: SliderField,
pub gravity_scale: FloatField,
pub color_start: ColorField,
pub color_end: ColorField,
pub size_start: FloatField,
pub size_end: FloatField,
pub emitting: BoolField,
}Expand description
Inspector section for a particle emitter.
Fields§
§preset: EnumField§origin: Vec3Field§active_count: IntField§emit_rate: FloatField§lifetime: FloatField§speed: FloatField§spread_angle: SliderField§gravity_scale: FloatField§color_start: ColorField§color_end: ColorField§size_start: FloatField§size_end: FloatField§emitting: BoolFieldImplementations§
Source§impl ParticleInspector
impl ParticleInspector
pub fn new() -> Self
pub fn to_property_group(&self) -> PropertyGroup
Trait Implementations§
Source§impl Clone for ParticleInspector
impl Clone for ParticleInspector
Source§fn clone(&self) -> ParticleInspector
fn clone(&self) -> ParticleInspector
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParticleInspector
impl Debug for ParticleInspector
Auto Trait Implementations§
impl Freeze for ParticleInspector
impl RefUnwindSafe for ParticleInspector
impl Send for ParticleInspector
impl Sync for ParticleInspector
impl Unpin for ParticleInspector
impl UnsafeUnpin for ParticleInspector
impl UnwindSafe for ParticleInspector
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.