Struct SampleHeightMapJob
- Namespace
- AwesomeTechnologies.VegetationSystem
- Assembly
- Assembly-CSharp.dll
public struct SampleHeightMapJob : IJobParallelFor
- Implements
-
IJobParallelFor
- Inherited Members
-
- Extension Methods
-
Fields
Height
Field Value
- int
HeightMapSamples
public NativeArray<HeightMapSample> HeightMapSamples
Field Value
- NativeArray<HeightMapSample>
HeightMapScale
public Vector3 HeightMapScale
Field Value
- Vector3
HeightmapHeight
public int HeightmapHeight
Field Value
- int
HeightmapWidth
public int HeightmapWidth
Field Value
- int
public NativeArray<float> InputHeights
Field Value
- NativeArray<float>
Scale
Field Value
- Vector3
Size
Field Value
- Vector3
Width
Field Value
- int
Methods
Execute(int)
public void Execute(int index)
Parameters
index int
GetInterpolatedNormal(float, float)
public float3 GetInterpolatedNormal(float x, float y)
Parameters
x float
y float
Returns
- float3