Struct
- Namespace
- CoreFramework.Random
Result for 2D Worley / Cellular evaluation.
[BurstCompile]
public readonly struct HashBasedNoiseUtils.Cellular2DResult
- Extension Methods
Constructors
Cellular2DResult(float, float, float2, int2)
public Cellular2DResult(float f1, float f2, float2 feature, int2 cell)
Parameters
Fields
Cell
Integer lattice cell that owns the F1 feature.
public readonly int2 Cell
Field Value
F1
Nearest feature distance.
public readonly float F1
Field Value
- float
F2
Second nearest feature distance.
public readonly float F2
Field Value
- float
Feature
World-space feature position of F1.
public readonly float2 Feature