#[repr(i32)]pub enum ParticleInstanceType {
Billboard = 0,
Tail = 1,
FaceTravelDir = 2,
FaceWorldDir = 3,
SingleAxis = 4,
TerrainOriented = 5,
TerrainDirOriented = 6,
EmitterOriented = 7,
PhysicsOriented = 8,
Pinned = 9,
Trail = 10,
}Expand description
Particle visual / billboard type (maps to b_iInstanceType in Particle.fx)
Variants§
Billboard = 0
Camera-facing billboard quad
Tail = 1
Velocity-stretched quad
FaceTravelDir = 2
Quad oriented along instantaneous velocity
FaceWorldDir = 3
Quad oriented along a fixed world direction
SingleAxis = 4
Billboard locked to a single rotation axis
TerrainOriented = 5
Quad projected onto terrain normal
TerrainDirOriented = 6
Terrain-oriented + velocity-stretched
EmitterOriented = 7
Quad uses the emitter bone’s orientation
PhysicsOriented = 8
Quad oriented by physics simulation
Pinned = 9
Stretch between spawn origin and current position
Trail = 10
Like Tail but offset by one tail-length
Trait Implementations§
Source§impl Clone for ParticleInstanceType
impl Clone for ParticleInstanceType
Source§fn clone(&self) -> ParticleInstanceType
fn clone(&self) -> ParticleInstanceType
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 ParticleInstanceType
Source§impl Debug for ParticleInstanceType
impl Debug for ParticleInstanceType
impl Eq for ParticleInstanceType
Source§impl Hash for ParticleInstanceType
impl Hash for ParticleInstanceType
Source§impl PartialEq for ParticleInstanceType
impl PartialEq for ParticleInstanceType
impl StructuralPartialEq for ParticleInstanceType
Auto Trait Implementations§
impl Freeze for ParticleInstanceType
impl RefUnwindSafe for ParticleInstanceType
impl Send for ParticleInstanceType
impl Sync for ParticleInstanceType
impl Unpin for ParticleInstanceType
impl UnsafeUnpin for ParticleInstanceType
impl UnwindSafe for ParticleInstanceType
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