class GameboardModel (Niantic.ARDK.Extensions.Gameboard.GameboardModel)

Overview

class GameboardModel {
public:
    // fields

    readonly ModelSettings Settings;

    // properties

    SpatialTree SpatialTree;
    List<Surface> Surfaces;

    // methods

    void Clear();
    bool FindRandomPosition(out Vector3 randomPosition);
    GameboardModel(ModelSettings settings, bool visualise);
    void Prune(Vector3 keepNodesOrigin, float range);
    HashSet<Vector2Int> Scan(Vector3 origin, float range);
    void ToggleVisualisation();
};

Detailed Documentation

Methods

void Clear()

Removes all surfaces from the board.