Space Engineers
Public Member Functions | Protected Member Functions | Properties | List of all members
VRage.Noise.MyModuleFast Class Referenceabstract

Faster version of MyModule. This time we do not compute the gradient position directly but we're using gradient table lookup via permutation table. This leads to more 'grid' result as the local min and max (like in Value noise) are always appearing at integer points. More...

Inheritance diagram for VRage.Noise.MyModuleFast:
VRage.Noise.IMyModule VRage.Noise.MyBillowFast VRage.Noise.MyPerlinFast VRage.Noise.MyRidgedMultifractalFast VRage.Noise.MySimplexFast

Public Member Functions

abstract double GetValue (double x)
 
abstract double GetValue (double x, double y)
 
abstract double GetValue (double x, double y, double z)
 

Protected Member Functions

double GradCoherentNoise (double x, MyNoiseQuality quality)
 
double GradCoherentNoise (double x, double y, MyNoiseQuality quality)
 
double GradCoherentNoise (double x, double y, double z, MyNoiseQuality quality)
 

Properties

virtual int Seed [get, set]
 

Detailed Description

Faster version of MyModule. This time we do not compute the gradient position directly but we're using gradient table lookup via permutation table. This leads to more 'grid' result as the local min and max (like in Value noise) are always appearing at integer points.

Definition at line 10 of file MyModuleFast.cs.

Member Function Documentation

abstract double VRage.Noise.MyModuleFast.GetValue ( double  x)
pure virtual
abstract double VRage.Noise.MyModuleFast.GetValue ( double  x,
double  y 
)
pure virtual
abstract double VRage.Noise.MyModuleFast.GetValue ( double  x,
double  y,
double  z 
)
pure virtual
double VRage.Noise.MyModuleFast.GradCoherentNoise ( double  x,
MyNoiseQuality  quality 
)
inlineprotected

Definition at line 17 of file MyModuleFast.cs.

double VRage.Noise.MyModuleFast.GradCoherentNoise ( double  x,
double  y,
MyNoiseQuality  quality 
)
inlineprotected

Definition at line 35 of file MyModuleFast.cs.

double VRage.Noise.MyModuleFast.GradCoherentNoise ( double  x,
double  y,
double  z,
MyNoiseQuality  quality 
)
inlineprotected

Definition at line 74 of file MyModuleFast.cs.

Property Documentation

virtual int VRage.Noise.MyModuleFast.Seed
getset

Definition at line 122 of file MyModuleFast.cs.


The documentation for this class was generated from the following file: