ComponentAreas
namespace Griff.Scenes;
public static class ComponentAreasThe areas of component types (see AreaAttribute), found the first time each type is asked about and kept for as long as it’s loaded. Reading them allocates nothing.
Methods
Section titled “Methods”public static bool Has(Type type)True if components of type cover an area of the world (see AreaAttribute).
public static Box? Of(Entity entity)The part of the world entity covers: the area of the first of its components that has one (see AreaAttribute), or null for none.