Struct boxcars::Frame [−][src]
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
Auto Trait Implementations
impl RefUnwindSafe for Frame
impl UnwindSafe for Frame
Blanket Implementations
Mutably borrows from an owned value. Read more