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

Derives the recommended border size for tiled mesh builds.

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 static int DeriveBorderSize(
	NMGenParams config
)
Public Shared Function DeriveBorderSize ( _
	config As NMGenParams _
) As Integer
public:
static int DeriveBorderSize(
	NMGenParams^ config
)

Parameters

config
NMGenParams
The configuration to derive the border size from.

Return Value

The recommended border size.

Remarks

The tile size and agent parameters should be set before deriving the border size.

See Also