Struct AddInstancesSpawnChanceJob
- Namespace
- AwesomeTechnologies.Utility
- Assembly
- Assembly-CSharp.dll
public struct AddInstancesSpawnChanceJob : IJob
- Implements
-
IJob
- Inherited Members
-
- Extension Methods
-
Fields
InstanceList
public NativeList<ItemSelectorInstanceInfo> InstanceList
Field Value
- NativeList<ItemSelectorInstanceInfo>
RandomNumberIndex
public int RandomNumberIndex
Field Value
- int
RandomNumbers
public NativeArray<float> RandomNumbers
Field Value
- NativeArray<float>
ScaleMultiplier
public float3 ScaleMultiplier
Field Value
- float3
ScatterInstanceList
public NativeList<ScatterInstance> ScatterInstanceList
Field Value
- NativeList<ScatterInstance>
SpawnChance
Field Value
- float
VegetationCellIndex
public int VegetationCellIndex
Field Value
- int
Methods
Execute()
RandomRange(int, float, float)
public float RandomRange(int randomNumberIndex, float min, float max)
Parameters
randomNumberIndex int
min float
max float
Returns
- float