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

Represents a group of related contours.

Namespace: org.critterai.nmgen
Assembly: cai-nmgen (in cai-nmgen.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public sealed class ContourSet : IManagedObject
Public NotInheritable Class ContourSet _
	Implements IManagedObject
public ref class ContourSet sealed : IManagedObject

Members

         
 All Members  Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
BorderSize
The AABB border size used to generate the source data from which the contours were derived.
BoundsMax
The maximum bounds of the set in world space.
BoundsMin
The minimum bounds of the set in world space.
Build(BuildContext, CompactHeightfield, Single, Int32, ContourBuildFlags)
Builds a contour set from the region outlines in the provided CompactHeightfield.
Count
The number of contours in the set.
Depth
The depth of the set. (Along the z-axis in cell units.)
Finalize()()()()
Destructor
(Overrides Object..::..Finalize()()()().)
GetContour(Int32)
Gets the contour for the specified index.
IsDisposed
True if the object has been disposed and should no longer be used.
RequestDisposal()()()()
Frees and marks as disposed all resources. (Including member Contour objects.)
ResourceType
The type of unmanaged resources within the object.
Width
The width of the set. (Along the x-axis in cell units.)
XZCellSize
The width/depth increment of each cell. (On the xz-plane.)
YCellSize
The height increment of each cell. (On the y-axis.)

Remarks

A contour set is usually generated from a single CompactHeightfield. All contours share the minimum bounds and cell sizes of the set.

Behavior is undefined if used after disposal.

Inheritance Hierarchy

System..::..Object
  org.critterai.nmgen..::..ContourSet

See Also