EntityComponentSearchExtensions Class

Summary

Extensions for searching for an EntityComponent in an Entity hierarchy.
Namespace
StrideToolkit.Engine
Base Types
  • object
graph BT Type-->Base0["object"] Type["EntityComponentSearchExtensions"] class Type type-node

Syntax

public static class EntityComponentSearchExtensions

Methods

Name Value Summary
GetComponentInChildren<T>(Entity) T
Performs a breadth first search of the entities children for a component of the specified type.
static
GetComponentInChildren<T>(Entity, bool) T
Performs a breadth first search of the entities children for a component of the specified type.
static
GetComponentInChildrenAndSelf<T>(Entity) T
Performs a breadth first search of the entity and it's children for a component of the specified type.
static
GetComponentInChildrenAndSelf<T>(Entity, bool) T
Performs a breadth first search of the entity and it's children for a component of the specified type.
static
GetComponentInParent<T>(Entity) T
Performs a search of the entity and it's ancestors for a component of the specified type.
static
GetComponentInParent<T>(Entity, bool) T
Performs a search of the entity and it's ancestors for a component of the specified type.
static
GetComponentsInChildren<T>(Entity) IEnumerable<T>
Performs a depth first search of the entities children for all components of the specified type.
static
GetComponentsInChildren<T>(Entity, bool) IEnumerable<T>
Performs a depth first search of the entities children for all components of the specified type.
static
GetComponentsInChildrenAndSelf<T>(Entity) IEnumerable<T>
Performs a depth first search of the entity and it's children for all components of the specified type.
static
GetComponentsInChildrenAndSelf<T>(Entity, bool) IEnumerable<T>
Performs a depth first search of the entity and it's children for all components of the specified type.
static
GetComponentsInDecendants<T>(Entity) IEnumerable<T>
Performs a depth first search of the entities decendants for all components of the specified type.
static
GetComponentsInDecendants<T>(Entity, bool) IEnumerable<T>
Performs a depth first search of the entity and it's decendants for all components of the specified type.
static
GetComponentsInDecendantsAndSelf<T>(Entity) IEnumerable<T>
Performs a depth first search of the entity and it's decendants for all components of the specified type.
static
GetComponentsInDecendantsAndSelf<T>(Entity, bool) IEnumerable<T>
Performs a depth first search of the entity and it's decendants for all components of the specified type.
static
GetComponentsInParent<T>(Entity) IEnumerable<T>
Performs a search of the entity and it's ancestors for all components of the specified type.
static
GetComponentsInParent<T>(Entity, bool) IEnumerable<T>
Performs a search of the entity and it's ancestors for all components of the specified type.
static