Table of Contents

Class VegetationCellSpawner

Namespace
AwesomeTechnologies.VegetationSystem
Assembly
Assembly-CSharp.dll
public class VegetationCellSpawner
Inheritance
VegetationCellSpawner
Inherited Members
Extension Methods

Constructors

VegetationCellSpawner()

public VegetationCellSpawner()

Fields

CellArgsID

public static readonly int CellArgsID

Field Value

int

Compute_InputInstanceBufferID

public static readonly int Compute_InputInstanceBufferID

Field Value

int

Compute_OutputInstanceBufferID

public static readonly int Compute_OutputInstanceBufferID

Field Value

int

Compute_SampleCountID

public readonly int Compute_SampleCountID

Field Value

int

Compute_XSamplesID

public readonly int Compute_XSamplesID

Field Value

int

Compute_ZSamplesD

public readonly int Compute_ZSamplesD

Field Value

int

PersistentInstanceBufferID

public static readonly int PersistentInstanceBufferID

Field Value

int

PersistentVegetationStorage

public PersistentVegetationStorage PersistentVegetationStorage

Field Value

PersistentVegetationStorage

RandomNumberBuffer

public ComputeBuffer RandomNumberBuffer

Field Value

ComputeBuffer

RandomNumbers

public NativeArray<float> RandomNumbers

Field Value

NativeArray<float>

SpawningArgsBuffer

public ComputeBuffer SpawningArgsBuffer

Field Value

ComputeBuffer

VegetationInstanceDataPool

public VegetationInstanceDataPool VegetationInstanceDataPool

Field Value

VegetationInstanceDataPool

VegetationPackageProList

public List<VegetationPackagePro> VegetationPackageProList

Field Value

List<VegetationPackagePro>

VegetationPackageProModelsList

public List<VegetationPackageProModelInfo> VegetationPackageProModelsList

Field Value

List<VegetationPackageProModelInfo>

VegetationSettings

public VegetationSettings VegetationSettings

Field Value

VegetationSettings

VegetationStudioTerrainList

public List<IVegetationStudioTerrain> VegetationStudioTerrainList

Field Value

List<IVegetationStudioTerrain>

VegetationSystemPro

public VegetationSystemPro VegetationSystemPro

Field Value

VegetationSystemPro

WorldspaceSeaLevel

public float WorldspaceSeaLevel

Field Value

float

Methods

Dispose()

public void Dispose()

ExecuteDelayedSpawnRulesCompute(VegetationCell, Rect, int, int)

public void ExecuteDelayedSpawnRulesCompute(VegetationCell vegetationCell, Rect vegetationCellRect, int vegetationPackageIndex, int vegetationItemIndex)

Parameters

vegetationCell VegetationCell
vegetationCellRect Rect
vegetationPackageIndex int
vegetationItemIndex int

Init()

public void Init()

Max(byte, byte)

public static byte Max(byte a, byte b)

Parameters

a byte
b byte

Returns

byte

PrepareVegetationCell(VegetationCell)

public void PrepareVegetationCell(VegetationCell vegetationCell)

Parameters

vegetationCell VegetationCell

SpawnVegetationCell(VegetationCell, out bool, bool)

public void SpawnVegetationCell(VegetationCell vegetationCell, out bool hasInstancedIndirect, bool allowDelayedSpawning)

Parameters

vegetationCell VegetationCell
hasInstancedIndirect bool
allowDelayedSpawning bool