Property | Type | Description | |
---|---|---|---|
borderSize | int | ||
cellHeight | float | ||
cellScale | |||
cellScaleDivision | |||
cellSize | float | ||
countourSet | |||
debugString | string | ||
depth | int | ||
forcedBounds | |||
inputExtraMeshes | List |
||
maxEdgeLength | float | ||
maxSlope | float | ||
minRegionSize | int | ||
relevantGraphSurfaceMode | RecastGraph.RelevantGraphSurfaceMode | ||
voxelArea | |||
voxelOffset | |||
voxelWalkableClimb | int | ||
voxelWalkableHeight | uint | ||
width | int |
Property | Type | Description | |
---|---|---|---|
inputTriangles | int[] | ||
inputVertices | UnityEngine.Vector3[] |
Method | Description | |
---|---|---|
Area2 ( int a, int b, int c, int verts ) : int | ||
BoxBlur ( ushort src, ushort dst ) : ushort[] | ||
BuildCompactField ( ) : void | ||
BuildContours ( float maxError, int maxEdgeLength, |
||
BuildDistanceField ( ) : void | ||
BuildPolyMesh ( |
||
BuildRegions ( ) : void | ||
BuildVoxelConnections ( ) : void | ||
CalcAreaOfPolygon2D ( int verts, int nverts ) : int | ||
CalculateDistanceField ( ushort src ) : ushort | ||
CollectMeshes ( ) : void | ||
CollectMeshes ( List |
||
Collinear ( int a, int b, int c, int verts ) : bool | ||
CompactSpanToVector ( int x, int z, int i ) : |
||
ConvertPos ( int x, int y, int z ) : |
||
ConvertPosCorrZ ( int x, int y, int z ) : |
||
ConvertPosWithoutOffset ( int x, int y, int z ) : |
||
ConvertPosition ( int x, int z, int i ) : |
||
Diagonal ( int i, int j, int n, int verts, int indices ) : bool | ||
DrawLine ( int a, int b, int indices, int verts, |
||
ErodeWalkableArea ( int radius ) : void | ||
ExpandRegions ( int maxIterations, uint level, ushort srcReg, ushort srcDist, ushort dstReg, ushort dstDist, List |
||
FilterLedges ( uint voxelWalkableHeight, int voxelWalkableClimb, float cs, float ch, |
||
FilterLowHeightSpans ( uint voxelWalkableHeight, float cs, float ch, |
||
FilterSmallRegions ( ushort reg, int minRegionSize, int maxRegions ) : void | ||
FloodOnes ( List |
||
FloodRegion ( int x, int z, int i, uint level, ushort r, ushort srcReg, ushort srcDist, List |
||
GetClosestIndices ( int vertsa, int nvertsa, int vertsb, int nvertsb, int &ia, int &ib ) : void | ||
GetCornerHeight ( int x, int z, int i, int dir, bool &isBorderVertex ) : int | ||
Ileft ( int a, int b, int c, int va, int vb, int vc ) : bool | ||
InCone ( int i, int j, int n, int verts, int indices ) : bool | ||
Init ( ) : void | ||
IntersectProp ( int a, int b, int c, int d, int verts ) : bool | ||
Left ( int a, int b, int c, int verts ) : bool | ||
LeftOn ( int a, int b, int c, int verts ) : bool | ||
MarkRectWithRegion ( int minx, int maxx, int minz, int maxz, ushort region, ushort srcReg ) : void | ||
MergeContours ( |
||
Next ( int i, int n ) : int | ||
OnGUI ( ) : void | ||
Prev ( int i, int n ) : int | ||
RemoveDegenerateSegments ( List |
||
SimplifyContour ( List |
||
Triangulate ( int n, int verts, int &indices, int &tris ) : int | ||
VectorToIndex ( |
||
Voxelize ( float ch, float cs, float wc, float wh, float ms ) : UnityEngine | ||
VoxelizeInput ( ) : void | ||
WalkContour ( int x, int z, int i, ushort flags, List |
||
Xorb ( bool x, bool y ) : bool |
Method | Description | |
---|---|---|
Between ( int a, int b, int c, int verts ) : bool | ||
ClaimIntArr ( int minCapacity, bool zero ) : int[] | ||
Diagonalie ( int i, int j, int n, int verts, int indices ) : bool | ||
ErodeVoxels ( int radius ) : void | ||
Intersect ( int a, int b, int c, int d, int verts ) : bool | ||
ReleaseContours ( |
||
ReleaseIntArr ( int arr ) : void | ||
Vequal ( int a, int b, int verts ) : bool | ||
union_find_find ( int arr, int x ) : int | ||
union_find_union ( int arr, int a, int b ) : void |
public static Area2 ( int a, int b, int c, int verts ) : int | ||
a | int | |
b | int | |
c | int | |
verts | int | |
return | int |
public BoxBlur ( ushort src, ushort dst ) : ushort[] | ||
src | ushort | |
dst | ushort | |
return | ushort[] |
public BuildContours ( float maxError, int maxEdgeLength, |
||
maxError | float | |
maxEdgeLength | int | |
cset | ||
buildFlags | int | |
return | void |
public BuildPolyMesh ( |
||
cset | ||
nvp | int | |
mesh | ||
return | void |
public CalcAreaOfPolygon2D ( int verts, int nverts ) : int | ||
verts | int | |
nverts | int | |
return | int |
public CalculateDistanceField ( ushort src ) : ushort | ||
src | ushort | |
return | ushort |
public static CollectMeshes ( List |
||
extraMeshes | List |
|
bounds | ||
verts | ||
tris | int | |
return | void |
public static Collinear ( int a, int b, int c, int verts ) : bool | ||
a | int | |
b | int | |
c | int | |
verts | int | |
return | bool |
public CompactSpanToVector ( int x, int z, int i ) : |
||
x | int | |
z | int | |
i | int | |
return |
public ConvertPos ( int x, int y, int z ) : |
||
x | int | |
y | int | |
z | int | |
return |
public ConvertPosCorrZ ( int x, int y, int z ) : |
||
x | int | |
y | int | |
z | int | |
return |
public ConvertPosWithoutOffset ( int x, int y, int z ) : |
||
x | int | |
y | int | |
z | int | |
return |
public ConvertPosition ( int x, int z, int i ) : |
||
x | int | |
z | int | |
i | int | |
return |
public static Diagonal ( int i, int j, int n, int verts, int indices ) : bool | ||
i | int | |
j | int | |
n | int | |
verts | int | |
indices | int | |
return | bool |
public DrawLine ( int a, int b, int indices, int verts, |
||
a | int | |
b | int | |
indices | int | |
verts | int | |
col | ||
return | void |
public ErodeWalkableArea ( int radius ) : void | ||
radius | int | |
return | void |
public ExpandRegions ( int maxIterations, uint level, ushort srcReg, ushort srcDist, ushort dstReg, ushort dstDist, List |
||
maxIterations | int | |
level | uint | |
srcReg | ushort | |
srcDist | ushort | |
dstReg | ushort | |
dstDist | ushort | |
stack | List |
|
return | ushort[] |
public FilterLedges ( uint voxelWalkableHeight, int voxelWalkableClimb, float cs, float ch, |
||
voxelWalkableHeight | uint | |
voxelWalkableClimb | int | |
cs | float | |
ch | float | |
min | ||
return | void |
public FilterLowHeightSpans ( uint voxelWalkableHeight, float cs, float ch, |
||
voxelWalkableHeight | uint | |
cs | float | |
ch | float | |
min | ||
return | void |
public FilterSmallRegions ( ushort reg, int minRegionSize, int maxRegions ) : void | ||
reg | ushort | |
minRegionSize | int | |
maxRegions | int | |
return | void |
public FloodOnes ( List |
||
st1 | List |
|
regs | ushort | |
level | uint | |
reg | ushort | |
return | void |
public FloodRegion ( int x, int z, int i, uint level, ushort r, ushort srcReg, ushort srcDist, List |
||
x | int | |
z | int | |
i | int | |
level | uint | |
r | ushort | |
srcReg | ushort | |
srcDist | ushort | |
stack | List |
|
return | bool |
public GetClosestIndices ( int vertsa, int nvertsa, int vertsb, int nvertsb, int &ia, int &ib ) : void | ||
vertsa | int | |
nvertsa | int | |
vertsb | int | |
nvertsb | int | |
ia | int | |
ib | int | |
return | void |
public GetCornerHeight ( int x, int z, int i, int dir, bool &isBorderVertex ) : int | ||
x | int | |
z | int | |
i | int | |
dir | int | |
isBorderVertex | bool | |
return | int |
public static Ileft ( int a, int b, int c, int va, int vb, int vc ) : bool | ||
a | int | |
b | int | |
c | int | |
va | int | |
vb | int | |
vc | int | |
return | bool |
public static InCone ( int i, int j, int n, int verts, int indices ) : bool | ||
i | int | |
j | int | |
n | int | |
verts | int | |
indices | int | |
return | bool |
public static IntersectProp ( int a, int b, int c, int d, int verts ) : bool | ||
a | int | |
b | int | |
c | int | |
d | int | |
verts | int | |
return | bool |
public static Left ( int a, int b, int c, int verts ) : bool | ||
a | int | |
b | int | |
c | int | |
verts | int | |
return | bool |
public static LeftOn ( int a, int b, int c, int verts ) : bool | ||
a | int | |
b | int | |
c | int | |
verts | int | |
return | bool |
public MarkRectWithRegion ( int minx, int maxx, int minz, int maxz, ushort region, ushort srcReg ) : void | ||
minx | int | |
maxx | int | |
minz | int | |
maxz | int | |
region | ushort | |
srcReg | ushort | |
return | void |
public static MergeContours ( |
||
ca | ||
cb | ||
ia | int | |
ib | int | |
return | bool |
public RemoveDegenerateSegments ( List |
||
simplified | List |
|
return | void |
public SimplifyContour ( List |
||
verts | List |
|
simplified | List |
|
maxError | float | |
maxEdgeLenght | int | |
buildFlags | int | |
return | void |
public Triangulate ( int n, int verts, int &indices, int &tris ) : int | ||
n | int | |
verts | int | |
indices | int | |
tris | int | |
return | int |
public VectorToIndex ( |
||
p | ||
x | int | |
z | int | |
return | void |
public Voxelize ( float ch, float cs, float wc, float wh, float ms ) : UnityEngine | ||
ch | float | |
cs | float | |
wc | float | |
wh | float | |
ms | float | |
return | UnityEngine |
public WalkContour ( int x, int z, int i, ushort flags, List |
||
x | int | |
z | int | |
i | int | |
flags | ushort | |
verts | List |
|
return | void |
public Vector3,UnityEngine cellScaleDivision | ||
return |
public VoxelContourSet,Pathfinding.Voxels countourSet | ||
return |
protected Vector3[],UnityEngine inputVertices | ||
return | UnityEngine.Vector3[] |
public RecastGraph.RelevantGraphSurfaceMode relevantGraphSurfaceMode | ||
return | RecastGraph.RelevantGraphSurfaceMode |