Click or drag to resize
AB4D logo

MeshOctTree Fields

The MeshOctTree type exposes the following members.

Fields
 NameDescription
Public fieldExpandChildBoundingBoxes ExpandChildBoundingBoxes is a float that defined how much the bounding boxes of node overlap. By default the value is set to 0.2 - so each bounding box is extended for 20% (but it does not go out of the parent's bounding box). This way the triangles that lay on node borders will be put into the child nodes instead of having them in the parent node (there we need to do a hit test every time).
Public fieldMaxNodeLevel Number of levels used for MeshOctTree - bigger number reduces the number of triangles in each node but increased the MeshOctTree initialization time and used memory. Default value is 4.
Public fieldRootNode Root MeshOctTreeNode
Top
See Also