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

The Heightfield type exposes the following methods.





 XNA Framework Only

 .NET Compact Framework Only

AddTriangle(BuildContext, array<Vector3>[]()[][], Byte, Int32)
Voxelizes a triangle into the heightfield.
AddTriangles(BuildContext, TriangleMesh, array<Byte>[]()[][], Int32)
Voxelizes the triangles in the provided mesh into the heightfield.
AddTriangles(BuildContext, ChunkyTriMesh, Vector3, Vector3, Int32)
Voxelizes the triangles from the provided ChunkyTriMesh into the heightfield.
AddTriangles(BuildContext, array<Vector3>[]()[][], array<Byte>[]()[][], Int32, Int32)
Voxelizes the provided triangles into the heightfield.
AddTriangles(BuildContext, array<Vector3>[]()[][], array<UInt16>[]()[][], array<Byte>[]()[][], Int32)
Voxelizes the provided triangles into the heightfield.
Create(Int32, Int32, Vector3, Vector3, Single, Single)
Creates a new heightfield object.
(Overrides Object..::..Finalize()()()().)
Gets an buffer that is sized to fit the maximum number of spans within a column of the field.
The number of spans in the field.
GetSpans(Int32, Int32, array<HeightfieldSpan>[]()[][])
Gets the spans within the specified column.
MarkLedgeSpansNotWalkable(BuildContext, Int32, Int32)
Marks spans that are ledges as not-walkable.
MarkLowHeightSpansNotWalkable(BuildContext, Int32)
Marks walkable spans as not walkable if the clearence above the span is less than the specified height.
MarkLowObstaclesWalkable(BuildContext, Int32)
Marks non-walkable spans as walkable if their maximum is within walkableStep of a walkable neighbor.
Frees all resources and marks object as disposed.

See Also