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> Intersects(Ray ray) Checks whether the current BoundingFrustum intersects the specified Ray.
void Intersects(ref Ray ray, ref Nullable<float> result) Checks whether the current BoundingFrustum intersects a Ray.
bool Intersects(BoundingSphere sphere) Checks whether the current BoundingFrustum intersects the specified BoundingSphere.
void Intersects(ref BoundingSphere sphere, ref bool result) Checks whether the current BoundingFrustum intersects a BoundingSphere.
ContainmentType Contains(ref BoundingBox box) Checks whether the current BoundingFrustum contains the specified BoundingBox.
void Contains(ref BoundingBox box, ref ContainmentType result) Checks whether the current BoundingFrustum contains the specified BoundingBox.
ContainmentType Contains(BoundingFrustum frustum) Checks whether the current BoundingFrustum contains the specified BoundingFrustum.
ContainmentType Contains(Vector3 point) Checks whether the current BoundingFrustum contains the specified point.
void Contains(ref Vector3 point, ref ContainmentType result) Checks whether the current BoundingFrustum contains the specified point.
ContainmentType Contains(BoundingSphere sphere) Checks whether the current BoundingFrustum contains the specified BoundingSphere.
void Contains(ref BoundingSphere sphere, ref ContainmentType result) Checks whether the current BoundingFrustum contains the specified BoundingSphere.

Clone this wiki locally