C# Class UnityEditor.TerrainSplatEditor

Inheritance: EditorWindow
Exibir arquivo Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
m_NormalMap UnityEngine.Texture2D
m_Texture UnityEngine.Texture2D

Public Methods

Method Description
TerrainSplatEditor ( ) : System

Private Methods

Method Description
ApplyTerrainSplat ( ) : void
InitializeData ( Terrain terrain, int index ) : void
IsUsingMetallic ( Terrain materialType, Material materialTemplate ) : bool
IsUsingSmoothness ( Terrain materialType, Material materialTemplate ) : bool
IsUsingSpecular ( Terrain materialType, Material materialTemplate ) : bool
OnGUI ( ) : void
ShowTerrainSplatEditor ( string title, string button, Terrain terrain, int index ) : void
SplatSizeGUI ( Vector2 &scale, Vector2 &offset ) : void
TextureFieldGUI ( string label, Texture2D &texture, float alignmentOffset ) : void
ValidateMainTexture ( Texture2D tex ) : bool
ValidateTerrain ( ) : bool

Method Details

TerrainSplatEditor() public method

public TerrainSplatEditor ( ) : System
return System

Property Details

m_NormalMap public_oe property

public Texture2D,UnityEngine m_NormalMap
return UnityEngine.Texture2D

m_Texture public_oe property

public Texture2D,UnityEngine m_Texture
return UnityEngine.Texture2D