class MeshTile
(Niantic.Lightship.Maps.MapTileObjectHelpers.MeshTile)
Overview
A MeshBuilderAsync-friendly wrapper for relevant MapTile references.
class MeshTile: Niantic.Lightship.Maps.MapTileObjectHelpers.ITilePair {
public:
// fields
IMapTileObject TileObject => _tilePair.TileObject;
IMapTile Tile => _tilePair.Tile;
readonly MeshFilter Filter;
// methods
void MarkBuilderComplete(IFeatureBuilder builder);
MeshTile(TilePair tilePair, MeshFilter filter);
};
Inherited Members
public:
// properties
IMapTileObject TileObject;
IMapTile Tile;
// methods
void MarkBuilderComplete(IFeatureBuilder builder);
Detailed Documentation
A MeshBuilderAsync-friendly wrapper for relevant MapTile references.
Fields
Filter
readonly MeshFilter Filter
The MeshFilter used to render the IMapTile's features for a given MeshBuilderAsync on the corresponding IMapTileObject.
Methods
MarkBuilderComplete
void MarkBuilderComplete(IFeatureBuilder builder)
Notifies the tile that the builder has finished building it or will no longer build it (i.e., due to cancellation or exception handling)
MeshTile
MeshTile(TilePair tilePair, MeshFilter filter)
Associates a TilePair with the MeshFilter used for a given MeshBuilderAsync.
Parameters:
tilePair
- Represents the pairing of a IMapTileObject and the IMapTile whose features will be built on it.
filter
- The MeshFilter used to render the IMapTile's features for a given MeshBuilderAsync on the corresponding IMapTileObject.