Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.BoundingFrustum

Morten Aune Lyrstad edited this page Feb 17, 2020 · 52 revisions

IndexNamespace Index

BoundingFrustum Class

public class BoundingFrustum: IEquatable<VRageMath.BoundingFrustum>

Defines a frustum and helps determine whether forms intersect with it.

Namespace: VRageMath
Assembly: VRage.Math.dll

Implements:

Fields

Member Description
CornerCount Specifies the total number of corners (8) in the BoundingFrustum.

Properties

Member Description
Planes { get; }
Item { get; }
Near { get; } Gets the near plane of the BoundingFrustum.
Far { get; } Gets the far plane of the BoundingFrustum.
Left { get; } Gets the left plane of the BoundingFrustum.
Right { get; } Gets the right plane of the BoundingFrustum.
Top { get; } Gets the top plane of the BoundingFrustum.
Bottom { get; } Gets the bottom plane of the BoundingFrustum.
Matrix { get; set; } Gets or sets the Matrix that describes this bounding frustum.

Constructors

Member Description
BoundingFrustum()
BoundingFrustum(Matrix)

Methods

Member Description
GetCorners() Gets an array of points that make up the corners of the BoundingFrustum. ALLOCATION!
GetCorners(Vector3[]) Gets an array of points that make up the corners of the BoundingFrustum.
GetCornersUnsafe(*Vector3)
Equals(BoundingFrustum) Determines whether the specified BoundingFrustum is equal to the current BoundingFrustum.
Equals(object) Determines whether the specified Object is equal to the BoundingFrustum.
GetHashCode() Gets the hash code for this instance.
ToString() Returns a String that represents the current BoundingFrustum.
Intersects(BoundingBox) Checks whether the current BoundingFrustum intersects the specified BoundingBox.
Intersects(ref BoundingBox, out bool) Checks whether the current BoundingFrustum intersects a BoundingBox.
Intersects(BoundingFrustum) Checks whether the current BoundingFrustum intersects the specified BoundingFrustum.
Intersects(Plane) Checks whether the current BoundingFrustum intersects the specified Plane.
Intersects(ref Plane, out PlaneIntersectionType) Checks whether the current BoundingFrustum intersects a Plane.
Intersects(Ray) Checks whether the current BoundingFrustum intersects the specified Ray.
Intersects(ref Ray, out float?) Checks whether the current BoundingFrustum intersects a Ray.
Intersects(BoundingSphere) Checks whether the current BoundingFrustum intersects the specified BoundingSphere.
Intersects(ref BoundingSphere, out bool) Checks whether the current BoundingFrustum intersects a BoundingSphere.
Contains(ref BoundingBox) Checks whether the current BoundingFrustum contains the specified BoundingBox.
Contains(ref BoundingBox, out ContainmentType) Checks whether the current BoundingFrustum contains the specified BoundingBox.
Contains(BoundingFrustum) Checks whether the current BoundingFrustum contains the specified BoundingFrustum.
Contains(Vector3) Checks whether the current BoundingFrustum contains the specified point.
Contains(ref Vector3, out ContainmentType) Checks whether the current BoundingFrustum contains the specified point.
Contains(BoundingSphere) Checks whether the current BoundingFrustum contains the specified BoundingSphere.
Contains(ref BoundingSphere, out ContainmentType) Checks whether the current BoundingFrustum contains the specified BoundingSphere.

Clone this wiki locally