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

Marks walkable spans as not walkable if the clearence above the span is less than the specified height.

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 bool MarkLowHeightSpansNotWalkable(
	BuildContext context,
	int walkableHeight
)
Public Function MarkLowHeightSpansNotWalkable ( _
	context As BuildContext, _
	walkableHeight As Integer _
) As Boolean
public:
bool MarkLowHeightSpansNotWalkable(
	BuildContext^ context, 
	int walkableHeight
)

Parameters

context
BuildContext
The context to use for the operation
walkableHeight
Int32
The maximum allowed floor to ceiling height that is considered still walkable. [Limit: > MinWalkableHeight]

Return Value

True if the operation was successful.

Remarks

For this method, the clearance above the span is the distance from the span's maximum to the next higher span's minimum. (Same column.)

See Also