BoundingFrustum Class (Microsoft.Xna.Framework)
Defines a viewing frustum for intersection operations.
- C#
- VB
- F#
[DebuggerDisplayAttribute("{DebugDisplayString,nq}")] public class BoundingFrustum : IEquatable<BoundingFrustum>
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The BoundingFrustum type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
BoundingFrustum | Constructs the frustum by extracting the view planes from a matrix. |
Platforms | Name | Description | |
---|---|---|---|
CornerCount | The number of corner points in the frustum. | ||
PlaneCount | The number of planes in the frustum. |
Platforms | Name | Description | |
---|---|---|---|
Bottom | Gets the bottom plane of the frustum. | ||
Far | Gets the far plane of the frustum. | ||
Left | Gets the left plane of the frustum. | ||
Matrix | Gets or sets the Matrix of the frustum. | ||
Near | Gets the near plane of the frustum. | ||
Right | Gets the right plane of the frustum. | ||
Top | Gets the top plane of the frustum. |
Platforms | Name | Description | |
---|---|---|---|
Contains(BoundingBox) | Containment test between this BoundingFrustum and specified BoundingBox. | ||
Contains(BoundingBox, out ContainmentType) | Containment test between this BoundingFrustum and specified BoundingBox. | ||
Contains(BoundingFrustum) | Containment test between this BoundingFrustum and specified BoundingFrustum. | ||
Contains(BoundingSphere) | Containment test between this BoundingFrustum and specified BoundingSphere. | ||
Contains(BoundingSphere, out ContainmentType) | Containment test between this BoundingFrustum and specified BoundingSphere. | ||
Contains(Vector3) | Containment test between this BoundingFrustum and specified Vector3. | ||
Contains(Vector3, out ContainmentType) | Containment test between this BoundingFrustum and specified Vector3. | ||
Equals(object) | Compares whether current instance is equal to specified BoundingFrustum. (Overrides object.Equals().) | ||
Equals(BoundingFrustum) | Compares whether current instance is equal to specified BoundingFrustum. (Implements IEquatable<T>.Equals().) | ||
GetCorners() | Returns a copy of internal corners array. | ||
GetCorners(Vector3[]) | Returns a copy of internal corners array. | ||
GetHashCode | Gets the hash code of this BoundingFrustum. (Overrides object.GetHashCode().) | ||
Intersects(Ray, out Nullable`1) | Gets the distance of intersection of Ray and this BoundingFrustum or null if no intersection happens. | ||
Intersects(Ray) | Gets the distance of intersection of Ray and this BoundingFrustum or null if no intersection happens. | ||
Intersects(Plane, out PlaneIntersectionType) | Gets type of intersection between specified Plane and this BoundingFrustum. | ||
Intersects(BoundingFrustum) | Gets whether or not a specified BoundingFrustum intersects with this BoundingFrustum. | ||
Intersects(BoundingSphere, out Boolean) | Gets whether or not a specified BoundingSphere intersects with this BoundingFrustum. | ||
Intersects(BoundingSphere) | Gets whether or not a specified BoundingSphere intersects with this BoundingFrustum. | ||
Intersects(BoundingBox) | Gets whether or not a specified BoundingBox intersects with this BoundingFrustum. | ||
Intersects(Plane) | Gets type of intersection between specified Plane and this BoundingFrustum. | ||
Intersects(BoundingBox, out Boolean) | Gets whether or not a specified BoundingBox intersects with this BoundingFrustum. | ||
ToString | Returns a System.String representation of this BoundingFrustum in the format: {Near:[nearPlane] Far:[farPlane] Left:[leftPlane] Right:[rightPlane] Top:[topPlane] Bottom:[bottomPlane]} (Overrides object.ToString().) |
Platforms | Name | Description | |
---|---|---|---|
Equality | Compares whether two BoundingFrustum instances are equal. | ||
Inequality | Compares whether two BoundingFrustum instances are not equal. |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web