Starsector API
Loading...
Searching...
No Matches
com.fs.starfarer.api.util.Noise Class Reference

Static Public Member Functions

static float[] genNoise (int size, float spikes)
 
static void genNoise (float[] noise, int x1, int x2, int iter, float spikes)
 

Static Public Attributes

static Random random = new Random(Misc.genRandomSeed())
 

Detailed Description

Definition at line 6 of file Noise.java.

Member Function Documentation

◆ genNoise() [1/2]

static void com.fs.starfarer.api.util.Noise.genNoise ( float[]  noise,
int  x1,
int  x2,
int  iter,
float  spikes 
)
static

Definition at line 23 of file Noise.java.

◆ genNoise() [2/2]

static float[] com.fs.starfarer.api.util.Noise.genNoise ( int  size,
float  spikes 
)
static

Definition at line 9 of file Noise.java.

Member Data Documentation

◆ random

Random com.fs.starfarer.api.util.Noise.random = new Random(Misc.genRandomSeed())
static

Definition at line 7 of file Noise.java.


The documentation for this class was generated from the following file: