#[repr(i32)]pub enum EmitterShape {
Point = 0,
Plane = 1,
Sphere = 2,
Box = 3,
Cylinder = 4,
Disc = 5,
Spline = 6,
Mesh = 7,
}Expand description
Particle / ribbon emitter shape (PAR_ / RIB_)
Variants§
Point = 0
Emit from a single point
Plane = 1
Emit from a rectangular plane
Sphere = 2
Emit from a sphere surface/volume
Box = 3
Emit from a box volume
Cylinder = 4
Emit from a cylinder
Disc = 5
Emit from a disc
Spline = 6
Emit from a spline path, splineLineData
Mesh = 7
Emit from mesh surface, mesh region indices in shapeRegions
Trait Implementations§
Source§impl Clone for EmitterShape
impl Clone for EmitterShape
Source§fn clone(&self) -> EmitterShape
fn clone(&self) -> EmitterShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EmitterShape
Source§impl Debug for EmitterShape
impl Debug for EmitterShape
impl Eq for EmitterShape
Source§impl Hash for EmitterShape
impl Hash for EmitterShape
Source§impl PartialEq for EmitterShape
impl PartialEq for EmitterShape
impl StructuralPartialEq for EmitterShape
Auto Trait Implementations§
impl Freeze for EmitterShape
impl RefUnwindSafe for EmitterShape
impl Send for EmitterShape
impl Sync for EmitterShape
impl Unpin for EmitterShape
impl UnsafeUnpin for EmitterShape
impl UnwindSafe for EmitterShape
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