Plane

struct Plane : System.ValueType, System.IEquatable<Plane>
float D
Vector3 Normal
float Dot(Vector4 value)
Parameters:
  • value (Microsoft.Xna.Framework.Vector4) –
void Dot(ref Vector4 value, ref float result)
Parameters:
  • (ref) value (Microsoft.Xna.Framework.Vector4) –
  • (ref) result (float) –
float DotCoordinate(Vector3 value)
Parameters:
  • value (Microsoft.Xna.Framework.Vector3) –
void DotCoordinate(ref Vector3 value, ref float result)
Parameters:
  • (ref) value (Microsoft.Xna.Framework.Vector3) –
  • (ref) result (float) –
float DotNormal(Vector3 value)
Parameters:
  • value (Microsoft.Xna.Framework.Vector3) –
void DotNormal(ref Vector3 value, ref float result)
Parameters:
  • (ref) value (Microsoft.Xna.Framework.Vector3) –
  • (ref) result (float) –
Plane Transform(Plane plane, Matrix matrix)

Transforms a normalized plane by a matrix.

Parameters:
  • plane (Microsoft.Xna.Framework.Plane) – The normalized plane to transform.
  • matrix (Microsoft.Xna.Framework.Matrix) – The transformation matrix.
Returns:

The transformed plane.

void Transform(ref Plane plane, ref Matrix matrix, ref Plane result)
Parameters:
  • (ref) plane (Microsoft.Xna.Framework.Plane) –
  • (ref) matrix (Microsoft.Xna.Framework.Matrix) –
  • (ref) result (Microsoft.Xna.Framework.Plane) –
Plane Transform(Plane plane, Quaternion rotation)

Transforms a normalized plane by a quaternion rotation.

Parameters:
  • plane (Microsoft.Xna.Framework.Plane) – The normalized plane to transform.
  • rotation (Microsoft.Xna.Framework.Quaternion) – The quaternion rotation.
Returns:

The transformed plane.

void Transform(ref Plane plane, ref Quaternion rotation, ref Plane result)
Parameters:
  • (ref) plane (Microsoft.Xna.Framework.Plane) –
  • (ref) rotation (Microsoft.Xna.Framework.Quaternion) –
  • (ref) result (Microsoft.Xna.Framework.Plane) –
void Normalize()
Plane Normalize(Plane value)
Parameters:
  • value (Microsoft.Xna.Framework.Plane) –
void Normalize(ref Plane value, ref Plane result)
Parameters:
  • (ref) value (Microsoft.Xna.Framework.Plane) –
  • (ref) result (Microsoft.Xna.Framework.Plane) –
bool op_Inequality(Plane plane1, Plane plane2)
Parameters:
  • plane1 (Microsoft.Xna.Framework.Plane) –
  • plane2 (Microsoft.Xna.Framework.Plane) –
bool op_Equality(Plane plane1, Plane plane2)
Parameters:
  • plane1 (Microsoft.Xna.Framework.Plane) –
  • plane2 (Microsoft.Xna.Framework.Plane) –
bool Equals(System.Object other)
Parameters:
  • other (System.Object) –
bool Equals(Plane other)
Parameters:
  • other (Microsoft.Xna.Framework.Plane) –
int GetHashCode()
PlaneIntersectionType Intersects(BoundingBox box)
Parameters:
  • box (Microsoft.Xna.Framework.BoundingBox) –
void Intersects(ref BoundingBox box, ref PlaneIntersectionType result)
Parameters:
  • (ref) box (Microsoft.Xna.Framework.BoundingBox) –
  • (ref) result (Microsoft.Xna.Framework.PlaneIntersectionType) –
PlaneIntersectionType Intersects(BoundingFrustum frustum)
Parameters:
  • frustum (Microsoft.Xna.Framework.BoundingFrustum) –
PlaneIntersectionType Intersects(BoundingSphere sphere)
Parameters:
  • sphere (Microsoft.Xna.Framework.BoundingSphere) –
void Intersects(ref BoundingSphere sphere, ref PlaneIntersectionType result)
Parameters:
  • (ref) sphere (Microsoft.Xna.Framework.BoundingSphere) –
  • (ref) result (Microsoft.Xna.Framework.PlaneIntersectionType) –
PlaneIntersectionType Intersects(ref Vector3 point)
Parameters:
  • (ref) point (Microsoft.Xna.Framework.Vector3) –
string get_DebugDisplayString()
string ToString()