C# Class UnityEditor.SnapEdge

Datei anzeigen 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_oe property

public EdgeDir dir
return EdgeDir

end public_oe property

public float end
return float

m_Object public_oe property

public Object,UnityEngine m_Object
return UnityEngine.Object

pos public_oe property

public float pos
return float

start public_oe property

public float start
return float

startDragPos public_oe property

public float startDragPos
return float

startDragStart public_oe property

public float startDragStart
return float