프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_power | float | ||
_sourceModule | IModule | ||
_xDistortModule | IModule | ||
_yDistortModule | IModule | ||
_zDistortModule | IModule |
메소드 | 설명 | |
---|---|---|
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. |
리턴 | 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 |