C# 클래스 Pathfinding.RecastGraph

상속: NavGraph, INavmesh, IRaycastableGraph, IFunnelGraph, IUpdatableGraph, INavmeshHolder
파일 보기 프로젝트 열기: henryj41043/TheUnseen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
dynamic bool
exportMode bool
importMode bool
nodes TriangleMeshNode[]
tileXCount int
tileZCount int

공개 메소드들

메소드 설명
AddPortal ( GraphNode n1, GraphNode n2, List left, List right ) : void
BuildFunnelCorridor ( List path, int startIndex, int endIndex, List left, List right ) : void
CanUpdateAsync ( GraphUpdateObject o ) : GraphUpdateThreading
ClosestPointOnNode ( TriangleMeshNode node, Vector3 pos ) : Vector3
ConnectTileWithNeighbours ( NavmeshTile tile ) : void
ContainsPoint ( TriangleMeshNode node, Vector3 pos ) : bool
CreateNodes ( int number ) : void
DeserializeExtraInfo ( GraphSerializationContext ctx ) : void
EndBatchTileUpdate ( ) : void
GetNearest ( Vector3 position, NNConstraint constraint, GraphNode hint ) : NNInfo
GetNearestForce ( Vector3 position, NNConstraint constraint ) : NNInfo
GetNodes ( GraphNodeDelegateCancelable del ) : void
GetRecastMeshObjs ( Bounds bounds, List buffer ) : void
GetRecastPath ( ) : string
GetSceneMeshes ( Bounds bounds ) : List
GetTileBounds ( int x, int z ) : Bounds
GetTileBounds ( int x, int z, int width, int depth ) : Bounds
GetTileCoordinates ( Vector3 p ) : Int2
GetTileCoordinates ( int tileIndex, int &x, int &z ) : void
GetTileIndex ( int index ) : int
GetTiles ( ) : NavmeshTile[]
GetVertex ( int index ) : Int3
GetVertexArrayIndex ( int index ) : int
IsJsEnabled ( ) : bool
Linecast ( Vector3 origin, Vector3 end ) : bool
Linecast ( Vector3 origin, Vector3 end, GraphNode hint ) : bool
Linecast ( Vector3 origin, Vector3 end, GraphNode hint, GraphHitInfo &hit ) : bool
Linecast ( Vector3 tmp_origin, Vector3 tmp_end, GraphNode hint, GraphHitInfo &hit, List trace ) : bool
OnDestroy ( ) : void
OnDrawGizmos ( bool drawNodes ) : void
PointOnNavmesh ( Vector3 position, NNConstraint constraint ) : GraphNode
RemoveConnectionsFromTile ( NavmeshTile tile ) : void
RemoveConnectionsFromTo ( NavmeshTile a, NavmeshTile b ) : void
ReplaceTile ( int x, int z, Int3 verts, int tris, bool worldSpace ) : void
ReplaceTile ( int x, int z, int w, int d, Int3 verts, int tris, bool worldSpace ) : void
ScanInternal ( OnScanStatus statusCallback ) : void
SerializeExtraInfo ( GraphSerializationContext ctx ) : void
SnapForceBoundsToScene ( ) : void
StartBatchTileUpdate ( ) : void
UpdateArea ( GraphUpdateObject guo ) : void
UpdateAreaInit ( GraphUpdateObject o ) : void

보호된 메소드들

메소드 설명
BuildTileMesh ( Voxelize vox, int x, int z ) : void
ScanAllTiles ( OnScanStatus statusCallback ) : void
ScanCRecast ( ) : void
ScanTiledNavmesh ( OnScanStatus statusCallback ) : void

비공개 메소드들

메소드 설명
CollectMeshes ( List &extraMeshes, Bounds bounds ) : bool
CollectTreeMeshes ( List extraMeshes, Terrain terrain ) : void
ConnectTiles ( NavmeshTile tile1, NavmeshTile tile2 ) : void
CreateNodeConnections ( TriangleMeshNode nodes ) : void
CreateTile ( Voxelize vox, VoxelMesh mesh, int x, int z ) : NavmeshTile
NewEmptyTile ( int x, int z ) : NavmeshTile
RasterizeCollider ( Collider col ) : ExtraMesh
RasterizeCollider ( Collider col, Matrix4x4 localToWorldMatrix ) : ExtraMesh

메소드 상세

AddPortal() 공개 메소드

public AddPortal ( GraphNode n1, GraphNode n2, List left, List right ) : void
n1 GraphNode
n2 GraphNode
left List
right List
리턴 void

BuildFunnelCorridor() 공개 메소드

public BuildFunnelCorridor ( List path, int startIndex, int endIndex, List left, List right ) : void
path List
startIndex int
endIndex int
left List
right List
리턴 void

BuildTileMesh() 보호된 메소드

protected BuildTileMesh ( Voxelize vox, int x, int z ) : void
vox Pathfinding.Voxels.Voxelize
x int
z int
리턴 void

CanUpdateAsync() 공개 메소드

public CanUpdateAsync ( GraphUpdateObject o ) : GraphUpdateThreading
o GraphUpdateObject
리턴 GraphUpdateThreading

ClosestPointOnNode() 공개 메소드

public ClosestPointOnNode ( TriangleMeshNode node, Vector3 pos ) : Vector3
node TriangleMeshNode
pos UnityEngine.Vector3
리턴 UnityEngine.Vector3

ConnectTileWithNeighbours() 공개 메소드

public ConnectTileWithNeighbours ( NavmeshTile tile ) : void
tile NavmeshTile
리턴 void

ContainsPoint() 공개 메소드

public ContainsPoint ( TriangleMeshNode node, Vector3 pos ) : bool
node TriangleMeshNode
pos UnityEngine.Vector3
리턴 bool

CreateNodes() 공개 메소드

public CreateNodes ( int number ) : void
number int
리턴 void

DeserializeExtraInfo() 공개 메소드

public DeserializeExtraInfo ( GraphSerializationContext ctx ) : void
ctx Pathfinding.Serialization.GraphSerializationContext
리턴 void

EndBatchTileUpdate() 공개 메소드

public EndBatchTileUpdate ( ) : void
리턴 void

GetNearest() 공개 메소드

public GetNearest ( Vector3 position, NNConstraint constraint, GraphNode hint ) : NNInfo
position UnityEngine.Vector3
constraint NNConstraint
hint GraphNode
리턴 NNInfo

GetNearestForce() 공개 메소드

public GetNearestForce ( Vector3 position, NNConstraint constraint ) : NNInfo
position UnityEngine.Vector3
constraint NNConstraint
리턴 NNInfo

GetNodes() 공개 메소드

public GetNodes ( GraphNodeDelegateCancelable del ) : void
del GraphNodeDelegateCancelable
리턴 void

GetRecastMeshObjs() 공개 메소드

public GetRecastMeshObjs ( Bounds bounds, List buffer ) : void
bounds UnityEngine.Bounds
buffer List
리턴 void

GetRecastPath() 공개 정적인 메소드

public static GetRecastPath ( ) : string
리턴 string

GetSceneMeshes() 공개 메소드

public GetSceneMeshes ( Bounds bounds ) : List
bounds Bounds
리턴 List

GetTileBounds() 공개 메소드

public GetTileBounds ( int x, int z ) : Bounds
x int
z int
리턴 Bounds

GetTileBounds() 공개 메소드

public GetTileBounds ( int x, int z, int width, int depth ) : Bounds
x int
z int
width int
depth int
리턴 Bounds

GetTileCoordinates() 공개 메소드

public GetTileCoordinates ( Vector3 p ) : Int2
p Vector3
리턴 Int2

GetTileCoordinates() 공개 메소드

public GetTileCoordinates ( int tileIndex, int &x, int &z ) : void
tileIndex int
x int
z int
리턴 void

GetTileIndex() 공개 메소드

public GetTileIndex ( int index ) : int
index int
리턴 int

GetTiles() 공개 메소드

public GetTiles ( ) : NavmeshTile[]
리턴 NavmeshTile[]

GetVertex() 공개 메소드

public GetVertex ( int index ) : Int3
index int
리턴 Int3

GetVertexArrayIndex() 공개 메소드

public GetVertexArrayIndex ( int index ) : int
index int
리턴 int

IsJsEnabled() 공개 정적인 메소드

public static IsJsEnabled ( ) : bool
리턴 bool

Linecast() 공개 메소드

public Linecast ( Vector3 origin, Vector3 end ) : bool
origin Vector3
end Vector3
리턴 bool

Linecast() 공개 메소드

public Linecast ( Vector3 origin, Vector3 end, GraphNode hint ) : bool
origin Vector3
end Vector3
hint GraphNode
리턴 bool

Linecast() 공개 메소드

public Linecast ( Vector3 origin, Vector3 end, GraphNode hint, GraphHitInfo &hit ) : bool
origin Vector3
end Vector3
hint GraphNode
hit GraphHitInfo
리턴 bool

Linecast() 공개 메소드

public Linecast ( Vector3 tmp_origin, Vector3 tmp_end, GraphNode hint, GraphHitInfo &hit, List trace ) : bool
tmp_origin Vector3
tmp_end Vector3
hint GraphNode
hit GraphHitInfo
trace List
리턴 bool

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

OnDrawGizmos() 공개 메소드

public OnDrawGizmos ( bool drawNodes ) : void
drawNodes bool
리턴 void

PointOnNavmesh() 공개 메소드

public PointOnNavmesh ( Vector3 position, NNConstraint constraint ) : GraphNode
position Vector3
constraint NNConstraint
리턴 GraphNode

RemoveConnectionsFromTile() 공개 메소드

public RemoveConnectionsFromTile ( NavmeshTile tile ) : void
tile NavmeshTile
리턴 void

RemoveConnectionsFromTo() 공개 메소드

public RemoveConnectionsFromTo ( NavmeshTile a, NavmeshTile b ) : void
a NavmeshTile
b NavmeshTile
리턴 void

ReplaceTile() 공개 메소드

public ReplaceTile ( int x, int z, Int3 verts, int tris, bool worldSpace ) : void
x int
z int
verts Int3
tris int
worldSpace bool
리턴 void

ReplaceTile() 공개 메소드

public ReplaceTile ( int x, int z, int w, int d, Int3 verts, int tris, bool worldSpace ) : void
x int
z int
w int
d int
verts Int3
tris int
worldSpace bool
리턴 void

ScanAllTiles() 보호된 메소드

protected ScanAllTiles ( OnScanStatus statusCallback ) : void
statusCallback OnScanStatus
리턴 void

ScanCRecast() 보호된 메소드

protected ScanCRecast ( ) : void
리턴 void

ScanInternal() 공개 메소드

public ScanInternal ( OnScanStatus statusCallback ) : void
statusCallback OnScanStatus
리턴 void

ScanTiledNavmesh() 보호된 메소드

protected ScanTiledNavmesh ( OnScanStatus statusCallback ) : void
statusCallback OnScanStatus
리턴 void

SerializeExtraInfo() 공개 메소드

public SerializeExtraInfo ( GraphSerializationContext ctx ) : void
ctx GraphSerializationContext
리턴 void

SnapForceBoundsToScene() 공개 메소드

public SnapForceBoundsToScene ( ) : void
리턴 void

StartBatchTileUpdate() 공개 메소드

public StartBatchTileUpdate ( ) : void
리턴 void

UpdateArea() 공개 메소드

public UpdateArea ( GraphUpdateObject guo ) : void
guo GraphUpdateObject
리턴 void

UpdateAreaInit() 공개 메소드

public UpdateAreaInit ( GraphUpdateObject o ) : void
o GraphUpdateObject
리턴 void

프로퍼티 상세

dynamic 공개적으로 프로퍼티

public bool dynamic
리턴 bool

exportMode 공개적으로 프로퍼티

public bool exportMode
리턴 bool

importMode 공개적으로 프로퍼티

public bool importMode
리턴 bool

nodes 공개적으로 프로퍼티

public TriangleMeshNode[] nodes
리턴 TriangleMeshNode[]

tileXCount 공개적으로 프로퍼티

public int tileXCount
리턴 int

tileZCount 공개적으로 프로퍼티

public int tileZCount
리턴 int