Table of Contents

Class VegetationCell

Namespace
AwesomeTechnologies.VegetationSystem
Assembly
Assembly-CSharp.dll
public class VegetationCell : IHasRect
Inheritance
VegetationCell
Implements
Inherited Members
Extension Methods

Constructors

VegetationCell(Rect)

public VegetationCell(Rect rectangle)

Parameters

rectangle Rect

Fields

BiomeData

public Color32 BiomeData

Field Value

Color32

BiomeMaskList

public List<PolygonBiomeMask> BiomeMaskList

Field Value

List<PolygonBiomeMask>

FlagForRemoval

public bool FlagForRemoval

Field Value

bool

HasBiomeData

public bool HasBiomeData

Field Value

bool

Index

public int Index

Field Value

int

Loaded

public bool Loaded

Field Value

bool

Prepared

public bool Prepared

Field Value

bool

VegetationCellBounds

public Bounds VegetationCellBounds

Field Value

Bounds

VegetationCellType

public VegetationCellType VegetationCellType

Field Value

VegetationCellType

VegetationInstanceDataList

public readonly List<VegetationInstanceData> VegetationInstanceDataList

Field Value

List<VegetationInstanceData>

VegetationMaskList

public List<BaseMaskArea> VegetationMaskList

Field Value

List<BaseMaskArea>

VegetationPackageInstancesList

public readonly List<VegetationPackageInstances> VegetationPackageInstancesList

Field Value

List<VegetationPackageInstances>

xIndex

public int xIndex

Field Value

int

yIndex

public int yIndex

Field Value

int

Properties

Enabled

public bool Enabled { get; }

Property Value

bool

EnabledInt

public int EnabledInt { get; }

Property Value

int

Rectangle

public Rect Rectangle { get; set; }

Property Value

Rect

Methods

AddBiomeMask(PolygonBiomeMask)

public void AddBiomeMask(PolygonBiomeMask maskArea)

Parameters

maskArea PolygonBiomeMask

AddVegetationMask(BaseMaskArea)

public void AddVegetationMask(BaseMaskArea maskArea)

Parameters

maskArea BaseMaskArea

AddVegetationMask(BaseMaskArea, int, int)

public void AddVegetationMask(BaseMaskArea maskArea, int vegetationPackageIndex, int vegetationItemIndex)

Parameters

maskArea BaseMaskArea
vegetationPackageIndex int
vegetationItemIndex int

ClearCache()

public void ClearCache()

ClearCache(int, int)

public void ClearCache(int vegetationPackageIndex, int vegetationItemIndex)

Parameters

vegetationPackageIndex int
vegetationItemIndex int

ClearInstanceMemory()

public void ClearInstanceMemory()

Dispose()

public void Dispose()

DrawPolarVegetationCellGizmo(VegetationCell, float, Vector3)

public static void DrawPolarVegetationCellGizmo(VegetationCell vegetationCell, float sphereRadius, Vector3 spherePosition)

Parameters

vegetationCell VegetationCell
sphereRadius float
spherePosition Vector3

GetBoundingSphere()

public BoundingSphere GetBoundingSphere()

Returns

BoundingSphere

GetPolarBoundingSphere(float, Vector3)

public BoundingSphere GetPolarBoundingSphere(float radius, Vector3 polarSpherePosition)

Parameters

radius float
polarSpherePosition Vector3

Returns

BoundingSphere

HasBiome(BiomeType)

public bool HasBiome(BiomeType biomeType)

Parameters

biomeType BiomeType

Returns

bool

HasBiome(int)

public bool HasBiome(int biomeIndex)

Parameters

biomeIndex int

Returns

bool

HasBiome(Vector4)

public bool HasBiome(Vector4 selectedChannels)

Parameters

selectedChannels Vector4

Returns

bool

IsFullySpawned()

public bool IsFullySpawned()

Returns

bool

UpdateInstanceListFromGPU(NativeArray<ScatterInstance>, int, int)

public void UpdateInstanceListFromGPU(NativeArray<ScatterInstance> scatterInstanceNativeArray, int vegetationPackageIndex, int vegetationItemIndex)

Parameters

scatterInstanceNativeArray NativeArray<ScatterInstance>
vegetationPackageIndex int
vegetationItemIndex int