C# Class Pathfinding.RecastBBTree

显示文件 Open project: Alx666/ProjectPhoenix Class Usage Examples

Public Properties

Property Type Description
root RecastBBTreeBox

Public Methods

Method Description
Insert ( RecastMeshObj mesh ) : void
OnDrawGizmos ( ) : void
OnDrawGizmos ( RecastBBTreeBox box ) : void
QueryBoxInBounds ( RecastBBTreeBox box, Rect bounds, List boxes ) : void
QueryInBounds ( Rect bounds, List buffer ) : void
Remove ( RecastMeshObj mesh ) : bool
ToString ( ) : void

Private Methods

Method Description
ExpandToContain ( Rect r, Rect r2 ) : Rect
ExpansionRequired ( Rect r, Rect r2 ) : float
RectArea ( Rect r ) : float
RectContains ( Rect r, Vector3 p ) : bool
RectIntersectsCircle ( Rect r, Vector3 p, float radius ) : bool
RectIntersectsRect ( Rect r, Rect r2 ) : bool
RemoveBox ( RecastBBTreeBox c, RecastMeshObj mesh, Rect bounds, bool &found ) : RecastBBTreeBox
XIntersectsCircle ( float x1, float x2, float zpos, Vector3 circle, float radius ) : bool
ZIntersectsCircle ( float z1, float z2, float xpos, Vector3 circle, float radius ) : bool

Method Details

Insert() public method

public Insert ( RecastMeshObj mesh ) : void
mesh RecastMeshObj
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( RecastBBTreeBox box ) : void
box RecastBBTreeBox
return void

QueryBoxInBounds() public method

public QueryBoxInBounds ( RecastBBTreeBox box, Rect bounds, List boxes ) : void
box RecastBBTreeBox
bounds UnityEngine.Rect
boxes List
return void

QueryInBounds() public method

public QueryInBounds ( Rect bounds, List buffer ) : void
bounds UnityEngine.Rect
buffer List
return void

Remove() public method

public Remove ( RecastMeshObj mesh ) : bool
mesh RecastMeshObj
return bool

ToString() public method

public ToString ( ) : void
return void

Property Details

root public_oe property

public RecastBBTreeBox,Pathfinding root
return RecastBBTreeBox