Property | Type | Description | |
---|---|---|---|
LeafMargin | float |
Method | Description | |
---|---|---|
GetOverlaps ( Microsoft.Xna.Framework.BoundingBox boundingBox, IList |
Gets the triangles whose bounding boxes are overlapped by the query.
|
|
GetOverlaps ( BoundingFrustum boundingFrustum, IList |
Gets the triangles whose bounding boxes are overlapped by the query.
|
|
GetOverlaps ( BoundingSphere boundingSphere, IList |
Gets the triangles whose bounding boxes are overlapped by the query.
|
|
GetOverlaps ( Microsoft.Xna.Framework.Ray ray, IList |
Gets the triangles whose bounding boxes are overlapped by the query.
|
|
GetOverlaps ( Microsoft.Xna.Framework.Ray ray, float maximumLength, IList |
Gets the triangles whose bounding boxes are overlapped by the query.
|
|
MeshBoundingBoxTree ( |
Constructs a new tree.
|
|
Reconstruct ( ) : void |
Reconstructs the tree based on the current data.
|
|
Refit ( ) : void |
Refits the tree based on the current data. This process is cheaper to perform than a reconstruction when the topology of the mesh does not change.
|
Method | Description | |
---|---|---|
Analyze ( List |
||
Insert ( int triangleIndex ) : void |
public GetOverlaps ( Microsoft.Xna.Framework.BoundingBox boundingBox, IList |
||
boundingBox | Microsoft.Xna.Framework.BoundingBox | Shape to query against the tree. |
outputOverlappedElements | IList |
Indices of triangles in the index buffer with bounding boxes which are overlapped by the query. |
return | bool |
public GetOverlaps ( BoundingFrustum boundingFrustum, IList |
||
boundingFrustum | BoundingFrustum | Shape to query against the tree. |
outputOverlappedElements | IList |
Indices of triangles in the index buffer with bounding boxes which are overlapped by the query. |
return | bool |
public GetOverlaps ( BoundingSphere boundingSphere, IList |
||
boundingSphere | BoundingSphere | Shape to query against the tree. |
outputOverlappedElements | IList |
Indices of triangles in the index buffer with bounding boxes which are overlapped by the query. |
return | bool |
public GetOverlaps ( Microsoft.Xna.Framework.Ray ray, IList |
||
ray | Microsoft.Xna.Framework.Ray | Shape to query against the tree. |
outputOverlappedElements | IList |
Indices of triangles in the index buffer with bounding boxes which are overlapped by the query. |
return | bool |
public GetOverlaps ( Microsoft.Xna.Framework.Ray ray, float maximumLength, IList |
||
ray | Microsoft.Xna.Framework.Ray | Shape to query against the tree. |
maximumLength | float | Maximum length of the ray in units of the ray's length. |
outputOverlappedElements | IList |
Indices of triangles in the index buffer with bounding boxes which are overlapped by the query. |
return | bool |
public MeshBoundingBoxTree ( |
||
data | Data to use to construct the tree. | |
return | System.Collections.Generic |