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
VRageMath.Plane[] Planes
VRageMath.Plane Item
VRageMath.Plane Near Gets the near plane of the BoundingFrustum.
VRageMath.Plane Far Gets the far plane of the BoundingFrustum.
VRageMath.Plane Left Gets the left plane of the BoundingFrustum.
VRageMath.Plane Right Gets the right plane of the BoundingFrustum.
VRageMath.Plane Top Gets the top plane of the BoundingFrustum.
VRageMath.Plane Bottom Gets the bottom plane of the BoundingFrustum.
VRageMath.Matrix Matrix Gets or sets the Matrix that describes this bounding frustum.

Methods

Member Description
VRageMath.Vector3[] GetCorners() Gets an array of points that make up the corners of the BoundingFrustum. ALLOCATION!
void GetCorners(VRageMath.Vector3[]) Gets an array of points that make up the corners of the BoundingFrustum.
void GetCornersUnsafe(*VRageMath.Vector3)
bool Equals(VRageMath.BoundingFrustum) Determines whether the specified BoundingFrustum is equal to the current BoundingFrustum.
bool Equals(System.Object) 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(VRageMath.BoundingBox) Checks whether the current BoundingFrustum intersects the specified BoundingBox.
void Intersects(ref VRageMath.BoundingBox, ref bool) Checks whether the current BoundingFrustum intersects a BoundingBox.
bool Intersects(VRageMath.BoundingFrustum) Checks whether the current BoundingFrustum intersects the specified BoundingFrustum.
VRageMath.PlaneIntersectionType Intersects(VRageMath.Plane) Checks whether the current BoundingFrustum intersects the specified Plane.
void Intersects(ref VRageMath.Plane, ref VRageMath.PlaneIntersectionType) Checks whether the current BoundingFrustum intersects a Plane.
Nullable<System.Single> Intersects(VRageMath.Ray) Checks whether the current BoundingFrustum intersects the specified Ray.
void Intersects(ref VRageMath.Ray, ref Nullable<System.Single>) Checks whether the current BoundingFrustum intersects a Ray.
bool Intersects(VRageMath.BoundingSphere) Checks whether the current BoundingFrustum intersects the specified BoundingSphere.
void Intersects(ref VRageMath.BoundingSphere, ref bool) Checks whether the current BoundingFrustum intersects a BoundingSphere.
VRageMath.ContainmentType Contains(ref VRageMath.BoundingBox) Checks whether the current BoundingFrustum contains the specified BoundingBox.
void Contains(ref VRageMath.BoundingBox, ref VRageMath.ContainmentType) Checks whether the current BoundingFrustum contains the specified BoundingBox.
VRageMath.ContainmentType Contains(VRageMath.BoundingFrustum) Checks whether the current BoundingFrustum contains the specified BoundingFrustum.
VRageMath.ContainmentType Contains(VRageMath.Vector3) Checks whether the current BoundingFrustum contains the specified point.
void Contains(ref VRageMath.Vector3, ref VRageMath.ContainmentType) Checks whether the current BoundingFrustum contains the specified point.
VRageMath.ContainmentType Contains(VRageMath.BoundingSphere) Checks whether the current BoundingFrustum contains the specified BoundingSphere.
void Contains(ref VRageMath.BoundingSphere, ref VRageMath.ContainmentType) Checks whether the current BoundingFrustum contains the specified BoundingSphere.

Clone this wiki locally