Property | Type | Description | |
---|---|---|---|
_sourceModule | IModule | ||
_xDisplaceModule | IModule | ||
_yDisplaceModule | IModule | ||
_zDisplaceModule | IModule |
Method | Description | |
---|---|---|
Displace ( ) |
Create a new noise module with default values
|
|
Displace ( IModule source, IModule xDisplaceModule, IModule yDisplaceModule, IModule zDisplaceModule ) |
Create a new noise module with the given values
|
|
GetValue ( float x, float y, float z ) : float |
Generates an output value given the coordinates of the specified input value.
|
public Displace ( IModule source, IModule xDisplaceModule, IModule yDisplaceModule, IModule zDisplaceModule ) | ||
source | IModule | the source module |
xDisplaceModule | IModule | the displacement module that displaces the x coordinate |
yDisplaceModule | IModule | the displacement module that displaces the y coordinate |
zDisplaceModule | IModule | the displacement module that displaces the z coordinate |
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. |
return | float |