Skip to main content

update

Function update 

Source
pub fn update(world: &mut World, time: f32, dt: f32, simulate: bool)
Expand description

Simulates every emitter and refreshes its mesh and material. simulate is false in the editor outside Play: emitters then animate from wall-clock time so they can be previewed.