pub enum DiscreteGameEventKind {
Teleport,
Spawn,
Despawn,
CameraCut,
Hit,
}Expand description
Discrete gameplay event emitted on a fixed simulation step that must never be interpolated across render frames.
Variants§
Teleport
Instant spatial teleport resetting continuous motion interpolation.
Spawn
Newly spawned entity that must appear directly at its spawn pose.
Despawn
Despawned entity removed from active interpolation.
CameraCut
Instant camera cut that must not pan smoothly from the previous viewpoint.
Hit
Gameplay impact, hit confirmation, or trigger pulse consumed once.
Trait Implementations§
Source§impl Clone for DiscreteGameEventKind
impl Clone for DiscreteGameEventKind
impl Copy for DiscreteGameEventKind
Source§impl Debug for DiscreteGameEventKind
impl Debug for DiscreteGameEventKind
Source§impl Default for DiscreteGameEventKind
impl Default for DiscreteGameEventKind
impl Eq for DiscreteGameEventKind
Source§impl Hash for DiscreteGameEventKind
impl Hash for DiscreteGameEventKind
Source§impl PartialEq for DiscreteGameEventKind
impl PartialEq for DiscreteGameEventKind
impl StructuralPartialEq for DiscreteGameEventKind
Auto Trait Implementations§
impl Forget for DiscreteGameEventKind
impl Freeze for DiscreteGameEventKind
impl Move for DiscreteGameEventKind
impl RefUnwindSafe for DiscreteGameEventKind
impl Send for DiscreteGameEventKind
impl Sync for DiscreteGameEventKind
impl Unpin for DiscreteGameEventKind
impl UnsafeUnpin for DiscreteGameEventKind
impl UnwindSafe for DiscreteGameEventKind
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