C# 클래스 TerrainDisplay.Recast.NavMeshTile

Managed version of dtMeshTile. Usage of members is not quite self-explanatory due to a high level of compression.
파일 보기 프로젝트 열기: WCell/WCell-Terrain 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DetailPolygons TerrainDisplay.Recast.NavMeshPolyDetail[]
DetailedTriangles TerrainDisplay.Recast.NavMeshDetailTriIndex[]
DetailedVertices System.Vector3[]
Flags uint
Links TerrainDisplay.Recast.NavMeshPolyLink[]
NextX int
OffMeshConnections TerrainDisplay.Recast.NavOffMeshConnection[]
Polygons TerrainDisplay.Recast.NavMeshPolygon[]
Vertices System.Vector3[]
X int

프로퍼티 상세

DetailPolygons 공개적으로 프로퍼티

The entire tile in byte form (used for serialization/deserialization) The tree is needed for fast execution of the query* functions in big tiles, which find polygons without a local context. Those functions are needed for different things (eg findNearestPoly), but not for pathfinding. Indexes the DetailedVertices and DetailedTriangles by the Tile's Polygons
public NavMeshPolyDetail[],TerrainDisplay.Recast DetailPolygons
리턴 TerrainDisplay.Recast.NavMeshPolyDetail[]

DetailedTriangles 공개적으로 프로퍼티

Eye candy (colored version of the original polygons?)
public NavMeshDetailTriIndex[],TerrainDisplay.Recast DetailedTriangles
리턴 TerrainDisplay.Recast.NavMeshDetailTriIndex[]

DetailedVertices 공개적으로 프로퍼티

Eye candy
public Vector3[],System DetailedVertices
리턴 System.Vector3[]

Flags 공개적으로 프로퍼티

Tile flags, see dtTileFlags
public uint Flags
리턴 uint

Links 공개적으로 프로퍼티

Links to other tiles
public NavMeshPolyLink[],TerrainDisplay.Recast Links
리턴 TerrainDisplay.Recast.NavMeshPolyLink[]

NextX 공개적으로 프로퍼티

The coordinates of the next Tile within the mesh
public int NextX
리턴 int

OffMeshConnections 공개적으로 프로퍼티

Some people might refer to these as "portals": They allow agents to jump between disconnected tiles. See: http://digestingduck.blogspot.com/2010/01/off-mesh-connection-progress-pt-3.html
public NavOffMeshConnection[],TerrainDisplay.Recast OffMeshConnections
리턴 TerrainDisplay.Recast.NavOffMeshConnection[]

Polygons 공개적으로 프로퍼티

Visible polygons, spanned between sets of vertices
public NavMeshPolygon[],TerrainDisplay.Recast Polygons
리턴 TerrainDisplay.Recast.NavMeshPolygon[]

Vertices 공개적으로 프로퍼티

The vertices of which this tile consists
public Vector3[],System Vertices
리턴 System.Vector3[]

X 공개적으로 프로퍼티

The coordinates of the Tile within the mesh
public int X
리턴 int