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 Apr 16, 2022 · 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
static int CornerCount Specifies the total number of corners (8) in the BoundingFrustum.

Properties

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

Constructors

Member Description
BoundingFrustum()
BoundingFrustum(Matrix)

Methods

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

Clone this wiki locally