Rock Factory displacement processor Core engine used by RFRock to generate a displacement map. More...
Public Types | |
enum | RFDisplacementPatterns { Noise, PerlinNoise, Billow, Voronoi } |
Public Member Functions | |
RFRockDisplacementProc (RFRock rockGen) | |
Initializes a new instance of the RFRockDisplacementProc class. | |
void | Reset () |
virtual void | Generate () |
Generates the displacementmaps based on the RFRock settings. |
Public Attributes | |
Texture2D[] | displacementMaps |
The displacement maps. |
Protected Member Functions | |
void | FillTexture_RandomNoise (Texture2D tex, int sideIndex) |
void | Prepare () |
Protected Attributes | |
RFRockSides< System.Random > | randomizers |
RFRock | rockGen |
RFRockSides< RFIVector2 > | segmentResolution |
Rock Factory displacement processor Core engine used by RFRock to generate a displacement map.
RFRockDisplacementProc | ( | RFRock | rockGen | ) |
Initializes a new instance of the RFRockDisplacementProc class.
rockGen | Reference to RFRock instance. |
|
virtual |
Generates the displacementmaps based on the RFRock settings.
Texture2D [] displacementMaps |
The displacement maps.