wHiteRabbiT-sTudio Framework
wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW Class Reference
Inheritance diagram for wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW:
wHiteRabbiT.UnityEditor.wHiteRabbiTEW

Public Member Functions

virtual Texture2D CreateTextureFromHeights (float[,] hs)
 
virtual Texture2D CreateNormalMap (float[,] hs, Vector3 d)
 
override void OnGUI ()
 
- Public Member Functions inherited from wHiteRabbiT.UnityEditor.wHiteRabbiTEW
virtual void OnDestroy ()
 

Static Public Member Functions

static void TerrainImportSplatMapEW ()
 

Protected Member Functions

Vector3 ToWorld (Vector2 v, float[,] h, Vector3 d)
 
bool IsClamp (Vector2 v, int w, int h)
 
- Protected Member Functions inherited from wHiteRabbiT.UnityEditor.wHiteRabbiTEW
void UpdateNews ()
 
GUIStyle StyleColor (Color c)
 

Protected Attributes

float[,] heights
 
Vector3 dim
 
Texture2D hTex
 
Texture2D nTex
 
- Protected Attributes inherited from wHiteRabbiT.UnityEditor.wHiteRabbiTEW
Texture2D logo2D
 
List< NewsXmlnewsXml
 
GUIStyle styleNone
 
GUIStyle styleBasic
 
GUIStyle styleURL
 
bool bPerformUndo
 

Static Protected Attributes

static Terrain terrain
 
static Terrain oldTerrain = null
 
static string fileName = ""
 
- Static Protected Attributes inherited from wHiteRabbiT.UnityEditor.wHiteRabbiTEW
static Vector2 sV
 

Additional Inherited Members

- Public Attributes inherited from wHiteRabbiT.UnityEditor.wHiteRabbiTEW
string news
 
- Properties inherited from wHiteRabbiT.UnityEditor.wHiteRabbiTEW
Texture2D Logo2D [get, set]
 
GUIStyle StyleNone [get]
 
GUIStyle StyleBasic [get]
 
GUIStyle StyleURL [get]
 

Member Function Documentation

virtual Texture2D wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.CreateNormalMap ( float  hs[,],
Vector3  d 
)
virtual
virtual Texture2D wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.CreateTextureFromHeights ( float  hs[,])
virtual
bool wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.IsClamp ( Vector2  v,
int  w,
int  h 
)
protected
override void wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.OnGUI ( )
virtual
static void wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.TerrainImportSplatMapEW ( )
static
Vector3 wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.ToWorld ( Vector2  v,
float  h[,],
Vector3  d 
)
protected

Member Data Documentation

Vector3 wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.dim
protected
string wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.fileName = ""
staticprotected
float [,] wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.heights
protected
Texture2D wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.hTex
protected
Texture2D wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.nTex
protected
Terrain wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.oldTerrain = null
staticprotected
Terrain wHiteRabbiT.UnityEditor.TerrainNormalMapExporterEW.terrain
staticprotected

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