프로퍼티 | 타입 | 설명 | |
---|---|---|---|
LeafMargin | float |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | 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. |
리턴 | 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. |
리턴 | 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. |
리턴 | 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. |
리턴 | bool |
public MeshBoundingBoxTree ( |
||
data | Data to use to construct the tree. | |
리턴 | System.Collections.Generic |