C# Class SharpNav.Pathfinding.NavQueryFilter

Exibir arquivo Open project: Robmaister/SharpNav Class Usage Examples

Public Methods

Method Description
GetAreaCost ( Area area ) : float
GetCost ( Microsoft.Xna.Framework.Vector3 a, Microsoft.Xna.Framework.Vector3 b, NavPolyId prevRef, NavTile prevTile, NavPoly prevPoly, NavPolyId curRef, NavTile curTile, NavPoly curPoly, NavPolyId nextRef, NavTile nextTile, NavPoly nextPoly ) : float
NavQueryFilter ( )
PassFilter ( NavPolyId polyId, NavTile tile, NavPoly poly ) : bool
SetAreaCost ( Area area, float value ) : void

Method Details

GetAreaCost() public method

public GetAreaCost ( Area area ) : float
area Area
return float

GetCost() public method

public GetCost ( Microsoft.Xna.Framework.Vector3 a, Microsoft.Xna.Framework.Vector3 b, NavPolyId prevRef, NavTile prevTile, NavPoly prevPoly, NavPolyId curRef, NavTile curTile, NavPoly curPoly, NavPolyId nextRef, NavTile nextTile, NavPoly nextPoly ) : float
a Microsoft.Xna.Framework.Vector3
b Microsoft.Xna.Framework.Vector3
prevRef NavPolyId
prevTile NavTile
prevPoly NavPoly
curRef NavPolyId
curTile NavTile
curPoly NavPoly
nextRef NavPolyId
nextTile NavTile
nextPoly NavPoly
return float

NavQueryFilter() public method

public NavQueryFilter ( )

PassFilter() public method

public PassFilter ( NavPolyId polyId, NavTile tile, NavPoly poly ) : bool
polyId NavPolyId
tile NavTile
poly NavPoly
return bool

SetAreaCost() public method

public SetAreaCost ( Area area, float value ) : void
area Area
value float
return void