Class PolygonBiomeMask
public class PolygonBiomeMask
- Inheritance
-
PolygonBiomeMask
- Inherited Members
-
- Extension Methods
-
Constructors
PolygonBiomeMask()
public PolygonBiomeMask()
Fields
BiomeSortOrder
public int BiomeSortOrder
Field Value
- int
BiomeType
public BiomeType BiomeType
Field Value
- BiomeType
BlendDistance
public float BlendDistance
Field Value
- float
CurveArray
public NativeArray<float> CurveArray
Field Value
- NativeArray<float>
InverseCurveArray
public NativeArray<float> InverseCurveArray
Field Value
- NativeArray<float>
MaskBounds
Field Value
- Bounds
NoiseScale
Field Value
- float
OnMaskDeleteDelegate
public PolygonBiomeMask.MultionMaskDeleteDelegate OnMaskDeleteDelegate
Field Value
- PolygonBiomeMask.MultionMaskDeleteDelegate
PolygonArray
public NativeArray<Vector2> PolygonArray
Field Value
- NativeArray<Vector2>
SegmentArray
public NativeArray<LineSegment2D> SegmentArray
Field Value
- NativeArray<LineSegment2D>
TextureCurveArray
public NativeArray<float> TextureCurveArray
Field Value
- NativeArray<float>
UseNoise
Field Value
- bool
Methods
AddPolygon(List<Vector3>, List<bool>)
public void AddPolygon(List<Vector3> pointList, List<bool> disableEdgeList)
Parameters
pointList List<Vector3>
disableEdgeList List<bool>
CallDeleteEvent()
public void CallDeleteEvent()
Contains(Vector3)
public bool Contains(Vector3 point)
Parameters
point Vector3
Returns
- bool
Dispose()
FilterSpawnLocations(NativeList<VegetationSpawnLocationInstance>, BiomeType, int, JobHandle)
public JobHandle FilterSpawnLocations(NativeList<VegetationSpawnLocationInstance> spawnLocationList, BiomeType currentBiomeType, int sampleCount, JobHandle dependsOn)
Parameters
spawnLocationList NativeList<VegetationSpawnLocationInstance>
currentBiomeType BiomeType
sampleCount int
dependsOn JobHandle
Returns
- JobHandle
SetCurve(float[])
public void SetCurve(float[] curveArray)
Parameters
curveArray float[]
SetInverseCurve(float[])
public void SetInverseCurve(float[] curveArray)
Parameters
curveArray float[]
SetTextureCurve(float[])
public void SetTextureCurve(float[] curveArray)
Parameters
curveArray float[]