Tao.Ode SDK Documentation

Ode.dQuadTreeSpaceCreate Method 

Creates a quadtree space. If space is nonzero, insert the new space into that space. Center and Extents define the size of the root block. Depth sets the depth of the tree - the number of blocks that are created is 4^Depth

[Visual Basic]
Public Shared Function dQuadTreeSpaceCreate( _
   ByVal space As IntPtr, _
   ByVal Center As dVector3, _
   ByVal Extents As dVector3, _
   ByVal Depth As Integer _
) As IntPtr
[C#]
public static IntPtr dQuadTreeSpaceCreate(
   IntPtr space,
   dVector3 Center,
   dVector3 Extents,
   int Depth
);

Parameters

space
handle of space to replace
Center
center of root block
Extents
extents of root block
Depth
depth of tree

Return Value

A dSpaceID

See Also

Ode Class | Tao.Ode Namespace