Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Microsoft.Xna.Framework.BoundingFrustum Class Reference

Public Member Functions

Vector3[] GetCorners ()
 
void GetCorners (Vector3[] corners)
 
bool Equals (BoundingFrustum other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 
 BoundingFrustum (Matrix value)
 
bool Intersects (BoundingBox box)
 
void Intersects (ref BoundingBox box, out bool result)
 
bool Intersects (BoundingFrustum frustum)
 
PlaneIntersectionType Intersects (Plane plane)
 
void Intersects (ref Plane plane, out PlaneIntersectionType result)
 
float? Intersects (Ray ray)
 
void Intersects (ref Ray ray, out float? result)
 
bool Intersects (BoundingSphere sphere)
 
void Intersects (ref BoundingSphere sphere, out bool result)
 
ContainmentType Contains (BoundingBox box)
 
void Contains (ref BoundingBox box, out ContainmentType result)
 
ContainmentType Contains (BoundingFrustum frustum)
 
ContainmentType Contains (Vector3 point)
 
void Contains (ref Vector3 point, out ContainmentType result)
 
ContainmentType Contains (BoundingSphere sphere)
 
void Contains (ref BoundingSphere sphere, out ContainmentType result)
 
bool Equals (T? other)
 

Static Public Member Functions

static bool operator== (BoundingFrustum a, BoundingFrustum b)
 
static bool operator!= (BoundingFrustum a, BoundingFrustum b)
 

Static Public Attributes

const int CornerCount = 8
 

Package Functions

void SupportMapping (ref Vector3 v, out Vector3 result)
 

Package Attributes

Vector3[] cornerArray = new Vector3[8]
 

Properties

Plane Near [get]
 
Plane Far [get]
 
Plane Left [get]
 
Plane Right [get]
 
Plane Top [get]
 
Plane Bottom [get]
 
Matrix Matrix [get, set]
 

Private Member Functions

 BoundingFrustum ()
 
void SetMatrix (ref Matrix value)
 

Static Private Member Functions

static Ray ComputeIntersectionLine (ref Plane p1, ref Plane p2)
 
static Vector3 ComputeIntersection (ref Plane plane, ref Ray ray)
 

Private Attributes

Matrix matrix
 
Plane[] planes = new Plane[6]
 
Gjk gjk
 

Static Private Attributes

const int NearPlaneIndex = 0
 
const int FarPlaneIndex = 1
 
const int LeftPlaneIndex = 2
 
const int RightPlaneIndex = 3
 
const int TopPlaneIndex = 4
 
const int BottomPlaneIndex = 5
 
const int NumPlanes = 6
 

Detailed Description

Definition at line 9 of file BoundingFrustum.cs.


The documentation for this class was generated from the following file: