public class Perlin extends Noise
| Modifier and Type | Class and Description |
|---|---|
static class |
Perlin.Options
Struct which contains Perlin noise module options
|
| Constructor and Description |
|---|
Perlin()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
destroy()
Remove
|
Perlin.Options |
getOptions() |
float |
getValue(float u,
float v)
Get the specified x/y noise value
|
protected boolean |
isUpdateThreadSafe() |
protected boolean |
loadConfig(ConfigManager config)
Load config
|
protected void |
saveConfig(java.lang.StringBuffer data)
Save config
|
void |
setOptions(Perlin.Options options)
Set/Update perlin noise options
|
protected boolean |
update(float timeSinceLastFrame)
Call it each frame
|
getStrengthpublic void setOptions(Perlin.Options options)
options - Perlin noise optionspublic Perlin.Options getOptions()
protected boolean update(float timeSinceLastFrame)
protected boolean isUpdateThreadSafe()
isUpdateThreadSafe in class Noisepublic float getValue(float u,
float v)
protected void saveConfig(java.lang.StringBuffer data)
saveConfig in class Noisedata - String referenceprotected boolean loadConfig(ConfigManager config)
loadConfig in class Noiseconfig - ConfigManager referenceBonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com