pub struct Frame {
pub time: f32,
pub delta: f32,
pub new_actors: Vec<NewActor>,
pub deleted_actors: Vec<ActorId>,
pub updated_actors: Vec<UpdatedAttribute>,
}
Expand description
Contains the time and any new information that occurred during a frame
Fields
time: f32
The time in seconds that the frame is recorded at
delta: f32
Time difference between previous frame
new_actors: Vec<NewActor>
List of new actors seen during the frame
deleted_actors: Vec<ActorId>
List of actor id’s that are deleted / destroyed
updated_actors: Vec<UpdatedAttribute>
List of properties updated on the actors
Trait Implementations
impl StructuralPartialEq for Frame
Auto Trait Implementations
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more