Enum ark_api::world::EntityQueryType
source · pub enum EntityQueryType {
AllEntities,
TransformChildren(Entity),
TransformDescendants(Entity),
}Expand description
Represents an entity query type that can be used with entity queries to specify what the query should include before filtering.
Variants§
AllEntities
Query all entities in the world. Filtering by layer is optional.
TransformChildren(Entity)
Query all direct children, excluding the root. Always filters by layer.
TransformDescendants(Entity)
Query all indirect and direct children, excluding the root. Always filters by layer.
Trait Implementations§
source§impl Clone for EntityQueryType
impl Clone for EntityQueryType
source§fn clone(&self) -> EntityQueryType
fn clone(&self) -> EntityQueryType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more