Ray

struct Ray : System.ValueType, System.IEquatable<Ray>
Vector3 Direction
Vector3 Position
bool Equals(System.Object obj)
Parameters:
  • obj (System.Object) –
bool Equals(Ray other)
Parameters:
  • other (Microsoft.Xna.Framework.Ray) –
int GetHashCode()
System.Nullable<Single> Intersects(BoundingBox box)
Parameters:
  • box (Microsoft.Xna.Framework.BoundingBox) –
void Intersects(ref BoundingBox box, ref System.Nullable<Single> result)
Parameters:
  • (ref) box (Microsoft.Xna.Framework.BoundingBox) –
  • (ref) result (System.Nullable<Single>) –
System.Nullable<Single> Intersects(BoundingSphere sphere)
Parameters:
  • sphere (Microsoft.Xna.Framework.BoundingSphere) –
System.Nullable<Single> Intersects(Plane plane)
Parameters:
  • plane (Microsoft.Xna.Framework.Plane) –
void Intersects(ref Plane plane, ref System.Nullable<Single> result)
Parameters:
  • (ref) plane (Microsoft.Xna.Framework.Plane) –
  • (ref) result (System.Nullable<Single>) –
void Intersects(ref BoundingSphere sphere, ref System.Nullable<Single> result)
Parameters:
  • (ref) sphere (Microsoft.Xna.Framework.BoundingSphere) –
  • (ref) result (System.Nullable<Single>) –
bool op_Inequality(Ray a, Ray b)
Parameters:
  • a (Microsoft.Xna.Framework.Ray) –
  • b (Microsoft.Xna.Framework.Ray) –
bool op_Equality(Ray a, Ray b)
Parameters:
  • a (Microsoft.Xna.Framework.Ray) –
  • b (Microsoft.Xna.Framework.Ray) –
string get_DebugDisplayString()
string ToString()