#include <NvBlastExtAuthoringPerlinNoise.h>
Public Member Functions | |
| PerlinNoise (Nv::Blast::RandomGeneratorBase *rnd, int octaves=1, float frequency=1., float amplitude=1.) | |
| void | reset (int octaves=1, float frequency=1.f, float amplitude=1.f) |
| float | sample (const physx::PxVec3 &point) |
| Nv::Blast::PerlinNoise::PerlinNoise | ( | Nv::Blast::RandomGeneratorBase * | rnd, | |
| int | octaves = 1, |
|||
| float | frequency = 1., |
|||
| float | amplitude = 1. | |||
| ) | [inline] |
| [in] | rnd | Random value generator |
| [in] | octaves | Number of noise octaves |
| [in] | frequency | Frequency of noise |
| [in] | amplitude | Amplitude of noise |
| void Nv::Blast::PerlinNoise::reset | ( | int | octaves = 1, |
|
| float | frequency = 1.f, |
|||
| float | amplitude = 1.f | |||
| ) | [inline] |
| float Nv::Blast::PerlinNoise::sample | ( | const physx::PxVec3 & | point | ) | [inline] |
Get Perlin Noise value at given point