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

static _int CornerCount_ Specifies the total number of corners (8) in the BoundingFrustum.
### Properties
_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
_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 Intersects(Ray ray)_ Checks whether the current BoundingFrustum intersects the specified Ray.
_void Intersects(ref Ray ray, ref Nullable 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