class_StructureFeatureBuilder
title: class StructureFeatureBuilder toc_max_heading_level: 4
class StructureFeatureBuilder
(Niantic.Lightship.Maps.Builders.Standard.Structures.StructureFeatureBuilder)
概要
StructureFeaturesのビルダー
class StructureFeatureBuilder: Niantic.Lightship.Maps.Builders.Standard.MeshBuilderStandard {
public:
// メソッド
virtual override void Build(IMapTile mapTile, MeshFilter meshFilter);
};
継承メンバー
public:
// フィールド
int MinLOD => _minLOD;
int MaxLOD => _maxLOD;
// プロパティ
Guid Id;
int MinLOD;
int MaxLOD;
Guid Id;
// メソッド
virtual void Initialize(ILightshipMapView lightshipMapView);
MeshFilter CreateMeshComponents(IMapTileObject mapTileObject);
void Release(MeshFilter meshFilter);
MeshFilter CreateMeshComponents(IMapTileObject mapTileObject);
virtual void Release(MeshFilter meshFilter);
void Build(IMapTile mapTile, MeshFilter meshFilter);
virtual abstract void Build(IMapTile mapTile, MeshFilter meshFilter) = 0;
```cs
protected:
// フィールド
string BuilderName => _builderName.NullIfEmptyOrWhitespace() ?? name;
LayerKind Layer => _mapLayer;
List<FeatureKind> Features => _features;
Material[] _materials;
// プロパティ
Vector3 ZOffset;
// メソッド
static void SetMeshForFilter(Mesh mesh, MeshFilter meshFilter);