[This is preliminary documentation and is subject to change.]

The CompactHeightfield type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
ApplyMedianFilter(BuildContext)
Applies a median filter to the walkable areas. (Removes noise.)
Build(BuildContext, Heightfield, Int32, Int32)
Creates a compact open heightfield from a solid heightfield.
BuildDistanceField(BuildContext)
Builds the distance field for the heightfield.
BuildRegions(BuildContext, Int32, Int32, Int32)
Builds region data for the heightfield using watershed partitioning.
BuildRegionsMonotone(BuildContext, Int32, Int32, Int32)
Builds region data for the heightfield using simple monotone partitioning.
ErodeWalkableArea(BuildContext, Int32)
Erodes the walkable area within the heightfield by the specified radius.
Finalize()()()()
Destructor.
(Overrides Object..::..Finalize()()()().)
GetAreaData(array<Byte>[]()[][])
Loads the heightfield's area data into the provided buffer.
GetCellData(array<CompactCell>[]()[][])
Loads the heighfield's CompactCell data into the provided buffer.
GetDistanceData(array<UInt16>[]()[][])
Loads the heightfield's distance field data into the provided buffer.
GetSpanData(array<CompactSpan>[]()[][])
Loads the heightfield's CompactSpan data into the provided buffer.
MarkBoxArea(BuildContext, Vector3, Vector3, Byte)
Applies the area to all spans within the specified bounding box. (AABB)
MarkConvexPolyArea(BuildContext, array<Vector3>[]()[][], Single, Single, Byte)
Applies the area to the all spans within the specified convex polygon.
MarkCylinderArea(BuildContext, Vector3, Single, Single, Byte)
Applied the area to all spans within the specified cylinder.
RequestDisposal()()()()
Frees all unmanaged resources controlled by the object and marks it as disposed.

See Also