Struct GhostDistanceData
The default configuration data for GhostImportance. Uses tiling to group entities into spatial chunks, allowing chunks to be prioritized based on distance (via the GhostDistancePartitioningSystem), effectively giving you performant distance-based importance scaling.
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public struct GhostDistanceData : IComponentData, IQueryTypeParameter
Fields
Name | Description |
---|---|
TileBorderWidth | Width of the tile border. When deciding whether an entity is on one or the other, the border where it can enter is determined by this parameter. |
TileCenter | Offset of the tile center |
TileSize | Dimensions of the tile. |