Rock Factory  1.0
Unity3d component package for procedural rocks
 All Classes Functions Variables Enumerations Properties
RFRockDisplacementProc Class Reference

Rock Factory displacement processor Core engine used by RFRock to generate a displacement map. More...

Inheritance diagram for RFRockDisplacementProc:
RFRockDisplacementProcPro

List of all members.

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< RFIVector2segmentResolution

Detailed Description

Rock Factory displacement processor Core engine used by RFRock to generate a displacement map.


Member Enumeration Documentation

Enumerator:
Noise 

Random noise

PerlinNoise 

Perlin noise (clouds)

Billow 

Billow pattern

Voronoi 

Voronoi pattern


Constructor & Destructor Documentation

Initializes a new instance of the RFRockDisplacementProc class.

Parameters:
rockGenReference to RFRock instance.

Member Function Documentation

virtual void Generate ( )
virtual

Generates the displacementmaps based on the RFRock settings.


Member Data Documentation

Texture2D [] displacementMaps

The displacement maps.


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