Свойство | Type | Description | |
---|---|---|---|
_power | float | ||
_sourceModule | IModule | ||
_xDistortModule | IModule | ||
_yDistortModule | IModule | ||
_zDistortModule | IModule |
Méthode | Description | |
---|---|---|
GetValue ( float x, float y, float z ) : float |
Generates an output value given the coordinates of the specified input value.
|
|
Turbulence ( ) |
Create a new noise module with default values
|
|
Turbulence ( IModule source ) |
Create a new noise module with the given values
|
|
Turbulence ( IModule source, IModule xDistortModule, IModule yDistortModule, IModule zDistortModule, float power ) |
Create a new noise module with the given values.
|
public GetValue ( float x, float y, float z ) : float | ||
x | float | The input coordinate on the x-axis. |
y | float | The input coordinate on the y-axis. |
z | float | The input coordinate on the z-axis. |
Résultat | float |
public Turbulence ( IModule source, IModule xDistortModule, IModule yDistortModule, IModule zDistortModule, float power ) | ||
source | IModule | the source module |
xDistortModule | IModule | the noise module that displaces the x coordinate |
yDistortModule | IModule | the noise module that displaces the y coordinate |
zDistortModule | IModule | the noise module that displaces the z coordinate |
power | float | the power of the turbulence |