public class Plane extends Object
| Modifier and Type | Method and Description |
|---|---|
Module |
getModule()
Returns the noise module that is used to generate the output values.
|
double |
getValue(double x,
double z)
Returns the output value from the noise module given the ( @a x, @a z ) coordinates of the specified input value located on the surface of the plane.
|
void |
setModule(Module module)
Sets the noise module that is used to generate the output values.
|
public Plane(Module module)
module - The noise module that is used to generate the output values.public Module getModule()
public void setModule(Module module)
module - The noise module that is used to generate the output values.
This noise module must exist for the lifetime of this object, until you pass a new noise module to this method.public double getValue(double x,
double z)
x - The @a x coordinate of the input value.z - The @a z coordinate of the input value.Copyright © 2013–2017 Flow Powered. All rights reserved.