PhysicsTileInfo

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.

Declaration

1
public record PhysicsTileInfo

Summary

Physics collision information for a tile.

Metadata

Namespace: GridPlacement.Core.Types

Source File: cs/Core/Types/TileInfo.cs

Assembly: GridPlacement.Core

Type: record

Implements

  • IEquatable<PhysicsTileInfo>

Properties

GridPosition

1
public CoreVector2I GridPosition { get; init; }

Grid position of the queried tile.


WorldPosition

1
public CoreVector2 WorldPosition { get; init; }

World position queried.


HasColliders

1
public bool HasColliders { get; }

Whether any physics colliders were found at this position.


Colliders

1
public List<ColliderInfo> Colliders { get; init; }

List of colliders found at this position.


IsOccupied

1
public bool IsOccupied { get; }

Whether the tile is considered occupied by physics bodies.