Displace.SetZDisplaceMod

Sets the @a z displacement module.

@param zDisplaceMod Displacement module that displaces the @a z coordinate.

The GetValue() method displaces the input value by adding the output value from this displacement module to the @a z coordinate of the input value before returning the output value from the source module.

This method assigns an index value of 3 to the @a z displacement module. Passing this displacement module to this method produces the same results as passing this displacement module to the SetSourceMod() method while assigning it an index value of 3.

This displacement module must exist throughout the lifetime of this noise module unless another displacement module replaces it.

class Displace
void
SetZDisplaceMod
(
ref const(Mod) zDisplaceMod
)

Meta