A helper class for managing the objects you organize in a quadtree.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- Gameplay
Kit
Declaration
class GKQuadtreeNode : NSObject
Overview
You don’t create instances of this class directly; instead, a GKQuadtree
object provides you with a GKQuadtree
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 removeElement(_:with:) method for better performance.