21 public int Width {
get;
private set; }
23 public int Height {
get;
private set; }
98 for (
int j = start; j < end; j++)
106 for (
int i = start; i < end; i++)
114 private void BlurLine(
int startIndex,
int endIndex,
int stride)
120 for (
int i = startIndex; i != endIndex + stride; i += stride)
129 if (zero.
X < 0.0185f)
145 if (zero.
Y < 0.0185f)
161 if (zero.
Z < 0.0185f)
170 if (flag && flag3 && flag2)
209 zero.X *= LightDecayThroughWater.X * num;
213 zero.Y *= LightDecayThroughWater.Y * num;
217 zero.Z *= LightDecayThroughWater.Z * num;
static void For(int fromInclusive, int toExclusive, ParallelForAction callback, object context=null)
float LightDecayThroughSolid
Vector3 LightDecayThroughWater
void GetLight(int x, int y, out Vector3 color)
Vector3 LightDecayThroughHoney
LightMaskMode GetMask(int x, int y)
void SetMaskAt(int x, int y, LightMaskMode mode)
int IndexOf(int x, int y)
float LightDecayThroughAir
void BlurLine(int startIndex, int endIndex, int stride)
void SetSize(int width, int height)
delegate void ParallelForAction(int fromInclusive, int toExclusive, object context)
static FastRandom CreateWithRandomSeed()
FastRandom WithModifier(ulong modifier)