Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Microsoft.Xna.Framework.BoundingSphere Struct Reference

Public Member Functions

 BoundingSphere (Vector3 center, float radius)
 
bool Equals (BoundingSphere other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 
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)
 
BoundingSphere Transform (Matrix matrix)
 
void Transform (ref Matrix matrix, out BoundingSphere result)
 
bool Equals (T? other)
 

Static Public Member Functions

static BoundingSphere CreateMerged (BoundingSphere original, BoundingSphere additional)
 
static void CreateMerged (ref BoundingSphere original, ref BoundingSphere additional, out BoundingSphere result)
 
static BoundingSphere CreateFromBoundingBox (BoundingBox box)
 
static void CreateFromBoundingBox (ref BoundingBox box, out BoundingSphere result)
 
static BoundingSphere CreateFromPoints (IEnumerable< Vector3 > points)
 
static BoundingSphere CreateFromFrustum (BoundingFrustum frustum)
 
static bool operator== (BoundingSphere a, BoundingSphere b)
 
static bool operator!= (BoundingSphere a, BoundingSphere b)
 

Public Attributes

Vector3 Center
 
float Radius
 

Package Functions

void SupportMapping (ref Vector3 v, out Vector3 result)
 

Detailed Description

Definition at line 12 of file BoundingSphere.cs.


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