Skip to main content

interface IMeshBuilderStandard

(Niantic.Lightship.Maps.Builders.Standard.IMeshBuilderStandard)

Overview

	interface IMeshBuilderStandard: Niantic.Lightship.Maps.Builders.IMeshBuilder {
// methods

void Build(IMapTile mapTile, MeshFilter meshFilter);
};

// direct descendants

class GroundBuilder;
class MeshBuilderStandard;

Inherited Members

public:
// properties

Guid Id;
int MinLOD;
int MaxLOD;

// methods

MeshFilter CreateMeshComponents(IMapTileObject mapTileObject);
void Release(MeshFilter meshFilter);

Detailed Documentation

Methods

Build

void Build(IMapTile mapTile, MeshFilter meshFilter)

Called when a maptile is added to the scene. This method generates meshes for a specific set of maptile features.

    Parameters:

    mapTile - The IMapTile containing features to build.

    meshFilter - The MeshFilter used to render the mesh.