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

Load the base configuration.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool LoadBase(
	int tileX,
	int tileZ,
	int tileLayer,
	uint tileUserId,
	Vector3 boundsMin,
	Vector3 boundsMax,
	float xzCellSize,
	float yCellSize,
	float walkableHeight,
	float walkableRadius,
	float walkableStep,
	bool bvTreeEnabled
)
Public Function LoadBase ( _
	tileX As Integer, _
	tileZ As Integer, _
	tileLayer As Integer, _
	tileUserId As UInteger, _
	boundsMin As Vector3, _
	boundsMax As Vector3, _
	xzCellSize As Single, _
	yCellSize As Single, _
	walkableHeight As Single, _
	walkableRadius As Single, _
	walkableStep As Single, _
	bvTreeEnabled As Boolean _
) As Boolean
public:
bool LoadBase(
	int tileX, 
	int tileZ, 
	int tileLayer, 
	unsigned int tileUserId, 
	Vector3 boundsMin, 
	Vector3 boundsMax, 
	float xzCellSize, 
	float yCellSize, 
	float walkableHeight, 
	float walkableRadius, 
	float walkableStep, 
	bool bvTreeEnabled
)

Parameters

tileX
Int32
The tile grid x-location.
tileZ
Int32
The tile grid y-location.
tileLayer
Int32
The tile layer.
tileUserId
UInt32
The tile's user assigned id.
boundsMin
Vector3
The minumum bounds.
boundsMax
Vector3
The maximum bounds.
xzCellSize
Single
The xz-plane cell size.
yCellSize
Single
The y-axis cell size.
walkableHeight
Single
The walkable height.
walkableRadius
Single
The walkable radius.
walkableStep
Single
The walkable step.
bvTreeEnabled
Boolean
True if bounding volumes should beused.

Return Value

True if the load succeeded.

See Also