C# Class UnityEditor.SnapEdge

Show file Open project: randomize/VimConfig Class Usage Examples

Public Properties

Property Type Description
dir EdgeDir
end float
m_Object UnityEngine.Object
pos float
start float
startDragPos float
startDragStart float

Public Methods

Method Description
ToString ( ) : string

Private Methods

Method Description
ApplyOffset ( Vector2 offset, bool windowMove ) : void
EdgeCoordinateIndex ( ) : int
EdgeInside ( SnapEdge edge, List frustum ) : bool
OppositeEdge ( EdgeDir dir ) : EdgeDir
ShouldEdgesSnap ( SnapEdge a, SnapEdge b ) : bool
Snap ( List sourceEdges, List edgesToSnapAgainst, SnapEdge>.List activeEdges ) : Vector2
Snap ( SnapEdge edge, List otherEdges, float &maxDist, float &snapVal, SnapEdge>.List activeEdges ) : void
SnapEdge ( UnityEngine win, EdgeDir _d, float _p, float _s, float _e ) : System

Method Details

ToString() public method

public ToString ( ) : string
return string

Property Details

dir public property

public EdgeDir dir
return EdgeDir

end public property

public float end
return float

m_Object public property

public Object,UnityEngine m_Object
return UnityEngine.Object

pos public property

public float pos
return float

start public property

public float start
return float

startDragPos public property

public float startDragPos
return float

startDragStart public property

public float startDragStart
return float