Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Contains() [6/7]

void Microsoft.Xna.Framework.BoundingBox.Contains ( ref Vector3 point,
out ContainmentType result )
inline

Definition at line 502 of file BoundingBox.cs.

503 {
504 result = ((Min.X <= point.X && point.X <= Max.X && Min.Y <= point.Y && point.Y <= Max.Y && Min.Z <= point.Z && point.Z <= Max.Z) ? ContainmentType.Contains : ContainmentType.Disjoint);
505 }

References Microsoft.Xna.Framework.BoundingBox.Max, and Microsoft.Xna.Framework.Vector3.Z.