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

Represents a layer within a HeightfieldLayerSet.

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 HeightfieldLayer : IManagedObject
Public NotInheritable Class HeightfieldLayer _
	Implements IManagedObject
public ref class HeightfieldLayer sealed : IManagedObject

Members

         
 All Members  Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
BoundsMax
The maximum bounds of the layer in world space.
BoundsMin
The minimum bounds of the layer in world space.
Depth
The depth of the layer. (Along the z-axis in cell units.)
GetAreaData(array<Byte>[]()[][])
Loads the area data into the specified buffer.
GetConnectionData(array<Byte>[]()[][])
Loads the connection data into the specified buffer.
GetHeightData(array<Byte>[]()[][])
Loads the height data into the specified buffer.
HeightMax
The hight minimum of the usable data.
HeightMin
The height maximum of the usable data.
IsDisposed
True if the object has been disposed and should no longer be used.
RequestDisposal()()()()
Has no effect on the object. (The object owner will handle disposal.)
ResourceType
The type of unmanaged resources within the object.
Width
The width of the layer. (Along the x-axis in cell units.)
XMax
The x-maximum of teh usable data.
XMin
The x-minumum of the usuable data.
XZCellSize
The width/depth increment of each cell. (On the xz-plane.)
YCellSize
The height increment of each cell. (On the y-axis.)
ZMax
The z-maximum of the usable data.
ZMin
The z-minimum of the usable data.

Remarks

Undocumented: Equivalent to Recast: rcHeightfieldLayer.

Instances of this class can only be obtained from a HeightfieldLayerSet.

Behavior is undefined if used after disposal.

Inheritance Hierarchy

System..::..Object
  org.critterai.nmgen..::..HeightfieldLayer

See Also