C# Class UnityEditor.TerrainInspector

Inheritance: Editor
显示文件 Open project: CarlosHBC/UnityDecompiled

Private Properties

Property Type Description
CheckKeys void
DisableProjector void
GetActiveBrush Brush
GetBrushAspectRect UnityEngine.Rect
Initialize void
IntString string
IsBrushPreviewVisible bool
IsModificationToolActive bool
LoadBrushIcons void
LoadDetailIcons void
LoadSplatIcons void
LoadTreeIcons void
OnInspectorUpdate void
OnPreSceneGUICallback void
PercentSlider float
ResizeDetailResolution void
UpdatePreviewBrush void

Public Methods

Method Description
AspectSelectionGrid ( int selected, Texture textures, int approxSize, GUIStyle style, string emptyString, bool &doubleClick ) : int
AspectSelectionGridImageAndText ( int selected, GUIContent textures, int approxSize, GUIStyle style, string emptyString, bool &doubleClick ) : int
HasFrameBounds ( ) : bool
MenuButton ( GUIContent title, string menuName, int userData ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnGetFrameBounds ( ) : Bounds
OnInspectorGUI ( ) : void
OnSceneGUI ( ) : void
Raycast ( Vector2 &uv, Vector3 &pos ) : bool
ShowBrushSettings ( ) : void
ShowBrushes ( ) : void
ShowDetails ( ) : void
ShowHeightmaps ( ) : void
ShowMassPlaceTrees ( ) : void
ShowRaiseHeight ( ) : void
ShowRefreshPrototypes ( ) : void
ShowResolution ( ) : void
ShowSetHeight ( ) : void
ShowSettings ( ) : void
ShowSmoothHeight ( ) : void
ShowTextures ( ) : void
ShowTrees ( ) : void
ShowUpgradeTreePrototypeScaleUI ( ) : void

Private Methods

Method Description
CheckKeys ( ) : void
DisableProjector ( ) : void
GetActiveBrush ( int size ) : Brush
GetBrushAspectRect ( int elementCount, int approxSize, int extraLineHeight, int &xCount ) : Rect
Initialize ( ) : void
IntString ( float p ) : string
IsBrushPreviewVisible ( ) : bool
IsModificationToolActive ( ) : bool
LoadBrushIcons ( ) : void
LoadDetailIcons ( ) : void
LoadSplatIcons ( ) : void
LoadTreeIcons ( ) : void
OnInspectorUpdate ( ) : void
OnPreSceneGUICallback ( SceneView sceneView ) : void
PercentSlider ( GUIContent content, float valueInPercent, float minVal, float maxVal ) : float
ResizeDetailResolution ( TerrainData terrainData, int resolution, int resolutionPerPatch ) : void
UpdatePreviewBrush ( ) : void

Method Details

AspectSelectionGrid() public static method

public static AspectSelectionGrid ( int selected, Texture textures, int approxSize, GUIStyle style, string emptyString, bool &doubleClick ) : int
selected int
textures UnityEngine.Texture
approxSize int
style UnityEngine.GUIStyle
emptyString string
doubleClick bool
return int

AspectSelectionGridImageAndText() public static method

public static AspectSelectionGridImageAndText ( int selected, GUIContent textures, int approxSize, GUIStyle style, string emptyString, bool &doubleClick ) : int
selected int
textures UnityEngine.GUIContent
approxSize int
style UnityEngine.GUIStyle
emptyString string
doubleClick bool
return int

HasFrameBounds() public method

public HasFrameBounds ( ) : bool
return bool

MenuButton() public method

public MenuButton ( GUIContent title, string menuName, int userData ) : void
title UnityEngine.GUIContent
menuName string
userData int
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnGetFrameBounds() public method

public OnGetFrameBounds ( ) : Bounds
return UnityEngine.Bounds

OnInspectorGUI() public method

public OnInspectorGUI ( ) : void
return void

OnSceneGUI() public method

public OnSceneGUI ( ) : void
return void

Raycast() public method

public Raycast ( Vector2 &uv, Vector3 &pos ) : bool
uv Vector2
pos Vector3
return bool

ShowBrushSettings() public method

public ShowBrushSettings ( ) : void
return void

ShowBrushes() public method

public ShowBrushes ( ) : void
return void

ShowDetails() public method

public ShowDetails ( ) : void
return void

ShowHeightmaps() public method

public ShowHeightmaps ( ) : void
return void

ShowMassPlaceTrees() public method

public ShowMassPlaceTrees ( ) : void
return void

ShowRaiseHeight() public method

public ShowRaiseHeight ( ) : void
return void

ShowRefreshPrototypes() public method

public ShowRefreshPrototypes ( ) : void
return void

ShowResolution() public method

public ShowResolution ( ) : void
return void

ShowSetHeight() public method

public ShowSetHeight ( ) : void
return void

ShowSettings() public method

public ShowSettings ( ) : void
return void

ShowSmoothHeight() public method

public ShowSmoothHeight ( ) : void
return void

ShowTextures() public method

public ShowTextures ( ) : void
return void

ShowTrees() public method

public ShowTrees ( ) : void
return void

ShowUpgradeTreePrototypeScaleUI() public method

public ShowUpgradeTreePrototypeScaleUI ( ) : void
return void