C# Class e2dTerrainSceneEditor, E2D-Continued

Mostrar archivo Open project: ryanlatham/E2D-Continued Class Usage Examples

Private Properties

Property Type Description
AddCurvePoint void
ApplyBrush void
DeleteCurvePoint void
DrawBoundaryRect void
DrawBoundaryWithHandles void
DrawBoundaryWithoutHandles void
DrawBrush void
DrawCurve void
DrawCurveBrush void
DrawCurveHandles void
DrawNodesCursor void
GetBrushInfluence float
GetCurvePointIndexToDelete int
GetCurvePointIndexWhereToAddNew int
IsBoundaryNull bool
PrepareSceneView bool
ToolAdjustBrushAngle void
ToolAdjustBrushOpacity void
ToolAdjustBrushSize void
ToolAdjustBrushTexture void
ToolAdjustHeight void
ToolCurveTexture void
ToolEditNodes void
ToolGrass void
UpdateCursorPosition void
UpdateInput void

Public Methods

Method Description
ControlPressed ( ) : bool
GetCursorPosition ( ) : Vector3
MouseClickedDown ( ) : bool
MouseClickedUp ( ) : bool
MouseDragged ( ) : bool
MousePressed ( ) : bool
OnSceneGUI ( ) : void
ShiftAndControlPressed ( ) : bool
ShiftPressed ( ) : bool
e2dTerrainSceneEditor ( e2dTerrainEditor, inspector ) : System

Private Methods

Method Description
AddCurvePoint ( bool forceAddToEnd ) : void
ApplyBrush ( ) : void
DeleteCurvePoint ( bool moveTheRest ) : void
DrawBoundaryRect ( bool drawHandles ) : void
DrawBoundaryWithHandles ( ) : void
DrawBoundaryWithoutHandles ( ) : void
DrawBrush ( ) : void
DrawCurve ( ) : void
DrawCurveBrush ( ) : void
DrawCurveHandles ( ) : void
DrawNodesCursor ( ) : void
GetBrushInfluence ( Vector2 curvePoint ) : float
GetCurvePointIndexToDelete ( ) : int
GetCurvePointIndexWhereToAddNew ( bool forceAddToEnd ) : int
IsBoundaryNull ( ) : bool
PrepareSceneView ( ) : bool
ToolAdjustBrushAngle ( ) : void
ToolAdjustBrushOpacity ( ) : void
ToolAdjustBrushSize ( ) : void
ToolAdjustBrushTexture ( ) : void
ToolAdjustHeight ( ) : void
ToolCurveTexture ( ) : void
ToolEditNodes ( ) : void
ToolGrass ( ) : void
UpdateCursorPosition ( ) : void
UpdateInput ( ) : void

Method Details

ControlPressed() public method

public ControlPressed ( ) : bool
return bool

GetCursorPosition() public method

public GetCursorPosition ( ) : Vector3
return Vector3

MouseClickedDown() public method

public MouseClickedDown ( ) : bool
return bool

MouseClickedUp() public method

public MouseClickedUp ( ) : bool
return bool

MouseDragged() public method

public MouseDragged ( ) : bool
return bool

MousePressed() public method

public MousePressed ( ) : bool
return bool

OnSceneGUI() public method

public OnSceneGUI ( ) : void
return void

ShiftAndControlPressed() public method

public ShiftAndControlPressed ( ) : bool
return bool

ShiftPressed() public method

public ShiftPressed ( ) : bool
return bool

e2dTerrainSceneEditor() public method

public e2dTerrainSceneEditor ( e2dTerrainEditor, inspector ) : System
inspector e2dTerrainEditor,
return System