Contents

GKQuadtreeNode

A helper class for managing the objects you organize in a quadtree.

Declaration

class GKQuadtreeNode

Overview

You don’t create instances of this class directly; instead, a GKQuadtree object provides you with a GKQuadtreeNode instance when you add an element to a tree. If you plan to remove elements from the tree, keep references to the corresponding nodes so you can use the remove(_:using:) method for better performance.

For more information, see GameplayKit Programming Guide.

Topics

Examining a Node

See Also

Spatial Partitioning