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

VRageMath.BoundingFrustum

Malware edited this page Dec 21, 2018 · 52 revisions

Index

BoundingFrustum Class

Namespace: VRageMath
Assembly: VRage.Math.dll

Summary

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

Fields

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

Properties

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

Methods

Member Description
Vector3[] GetCorners() Gets an array of points that make up the corners of the BoundingFrustum. ALLOCATION!
void GetCorners(Vector3[] corners) Gets an array of points that make up the corners of the BoundingFrustum.
void GetCornersUnsafe(*Vector3 corners)
bool Equals(BoundingFrustum other) Determines whether the specified BoundingFrustum is equal to the current BoundingFrustum.
bool Equals(Object obj) Determines whether the specified Object is equal to the BoundingFrustum.
int GetHashCode() Gets the hash code for this instance.
string ToString() Returns a String that represents the current BoundingFrustum.
bool Intersects(BoundingBox box) Checks whether the current BoundingFrustum intersects the specified BoundingBox.
void Intersects(ref BoundingBox box, ref bool result) Checks whether the current BoundingFrustum intersects a BoundingBox.
bool Intersects(BoundingFrustum frustum) Checks whether the current BoundingFrustum intersects the specified BoundingFrustum.
PlaneIntersectionType Intersects(Plane plane) Checks whether the current BoundingFrustum intersects the specified Plane.
void Intersects(ref Plane plane, ref PlaneIntersectionType result) Checks whether the current BoundingFrustum intersects a Plane.
Nullable<float>&nbsp;Intersects(Ray&nbsp;ray) Checks whether the current BoundingFrustum intersects the specified Ray.
void&nbsp;Intersects(ref&nbsp;Ray&nbsp;ray,&nbsp;ref&nbsp;Nullable<float>&nbsp;result) Checks whether the current BoundingFrustum intersects a Ray.
bool&nbsp;Intersects(BoundingSphere&nbsp;sphere) Checks whether the current BoundingFrustum intersects the specified BoundingSphere.
void&nbsp;Intersects(ref&nbsp;BoundingSphere&nbsp;sphere,&nbsp;ref&nbsp;bool&nbsp;result) Checks whether the current BoundingFrustum intersects a BoundingSphere.
ContainmentType&nbsp;Contains(ref&nbsp;BoundingBox&nbsp;box) Checks whether the current BoundingFrustum contains the specified BoundingBox.
void&nbsp;Contains(ref&nbsp;BoundingBox&nbsp;box,&nbsp;ref&nbsp;ContainmentType&nbsp;result) Checks whether the current BoundingFrustum contains the specified BoundingBox.
ContainmentType&nbsp;Contains(BoundingFrustum&nbsp;frustum) Checks whether the current BoundingFrustum contains the specified BoundingFrustum.
ContainmentType&nbsp;Contains(Vector3&nbsp;point) Checks whether the current BoundingFrustum contains the specified point.
void&nbsp;Contains(ref&nbsp;Vector3&nbsp;point,&nbsp;ref&nbsp;ContainmentType&nbsp;result) Checks whether the current BoundingFrustum contains the specified point.
ContainmentType&nbsp;Contains(BoundingSphere&nbsp;sphere) Checks whether the current BoundingFrustum contains the specified BoundingSphere.
void&nbsp;Contains(ref&nbsp;BoundingSphere&nbsp;sphere,&nbsp;ref&nbsp;ContainmentType&nbsp;result) Checks whether the current BoundingFrustum contains the specified BoundingSphere.

Clone this wiki locally