Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.BoundingFrustum

Morten Aune Lyrstad edited this page Apr 16, 2022 · 51 revisions

IndexNamespace Index

BoundingFrustum Class

public class BoundingFrustum: IEquatable<BoundingFrustum>

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

Namespace: VRageMath
Assembly: VRage.Math.dll

Implements:

Fields

static int CornerCount

Specifies the total number of corners (8) in the BoundingFrustum.

Properties

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&#91] Planes { get; }

Plane Right { get; }

Gets the right plane of the BoundingFrustum.

Plane Top { get; }

Gets the top plane of the BoundingFrustum.

Constructors

BoundingFrustum()

BoundingFrustum(Matrix value)

Methods

ContainmentType Contains(ref BoundingBox box)

Checks whether the current BoundingFrustum contains the specified BoundingBox.

void Contains(ref BoundingBox box, out 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, out 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, out ContainmentType result)

Checks whether the current BoundingFrustum contains the specified BoundingSphere.

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.

Vector3&#91] GetCorners()

Gets an array of points that make up the corners of the BoundingFrustum. ALLOCATION!

void GetCorners(Vector3&#91] corners)

Gets an array of points that make up the corners of the BoundingFrustum.

void GetCornersUnsafe(*Vector3 corners)

int GetHashCode()

Gets the hash code for this instance.

bool Intersects(BoundingBox box)

Checks whether the current BoundingFrustum intersects the specified BoundingBox.

void Intersects(ref BoundingBox box, out 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, out PlaneIntersectionType result)

Checks whether the current BoundingFrustum intersects a Plane.

float? Intersects(Ray ray)

Checks whether the current BoundingFrustum intersects the specified Ray.

void Intersects(ref Ray ray, out 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, out bool result)

Checks whether the current BoundingFrustum intersects a BoundingSphere.

string ToString()

Returns a String that represents the current BoundingFrustum.

Clone this wiki locally