Expand description
Contains core plugins and utilities for time.
Modules
The Bevy Core Prelude.
Structs
Adds core functionality to Apps.
Helper for configuring and creating the default task pools. For end-users who want full control, insert the default task pools into the resource map manually. If the pools are already inserted, this helper will do nothing.
A system run criteria that enables systems or stages to run at a fixed timestep between executions.
The internal state of each FixedTimestep
.
A global resource that tracks the individual FixedTimestepState
s
for every labeled FixedTimestep
.
A wrapper type that enables ordering floats. This is a work around for the famous “rust float ordering” problem. By using it, you acknowledge that sorting NaN is undefined according to spec. This implementation treats NaN as the “smallest” float.
Component used to identify an entity. Stores a hash for faster comparisons The hash is eagerly re-computed upon each update to the name.
A Stopwatch is a struct that track elapsed time when started.
Defines a simple way to determine how many threads to use given the number of remaining cores and number of total cores
Tracks elapsed time since the last update and since the App has started
Tracks elapsed time. Enters the finished state once duration
is reached.
Enums
A SystemLabel
enum for ordering systems relative to core Bevy systems.
Traits
Marker trait for “plain old data”.
Functions
Re-interprets &T
as &[u8]
.
Cast &[A]
into &[B]
.