Export (0) Print
Expand All

Plane Structure

Defines a plane.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

public struct Plane

The Plane type exposes the following members.

  NameDescription
Public methodPlane(Vector4)Creates a new instance of Plane.
Public methodPlane(Vector3, Single)Creates a new instance of Plane.
Public methodPlane(Vector3, Vector3, Vector3)Creates a new instance of Plane.
Public methodPlane(Single, Single, Single, Single)Creates a new instance of Plane.
Top

  NameDescription
Public methodDot(Vector4)Calculates the dot product of a specified Vector4 and this Plane.
Public methodDot(Vector4, Single)Calculates the dot product of a specified Vector4 and this Plane.
Public methodDotCoordinate(Vector3)Returns the dot product of a specified Vector3 and the Normal vector of this Plane plus the distance (D) value of the Plane.
Public methodDotCoordinate(Vector3, Single)Returns the dot product of a specified Vector3 and the Normal vector of this Plane plus the distance (D) value of the Plane.
Public methodDotNormal(Vector3)Returns the dot product of a specified Vector3 and the Normal vector of this Plane.
Public methodDotNormal(Vector3, Single)Returns the dot product of a specified Vector3 and the Normal vector of this Plane.
Public methodEquals(Object)Determines whether the specified Object is equal to the Plane. (Overrides ValueType.Equals(Object).)
Public methodEquals(Plane)Determines whether the specified Plane is equal to the Plane.
Public methodGetHashCodeGets the hash code for this object. (Overrides ValueType.GetHashCode().)
Public methodIntersects(BoundingBox)Checks whether the current Plane intersects a specified BoundingBox.
Public methodIntersects(BoundingFrustum)Checks whether the current Plane intersects a specified BoundingFrustum.
Public methodIntersects(BoundingSphere)Checks whether the current Plane intersects a specified BoundingSphere.
Public methodIntersects(BoundingBox, PlaneIntersectionType)Checks whether the current Plane intersects a BoundingBox.
Public methodIntersects(BoundingSphere, PlaneIntersectionType)Checks whether the current Plane intersects a BoundingSphere.
Public methodNormalize()Changes the coefficients of the Normal vector of this Plane to make it of unit length.
Public methodStatic memberNormalize(Plane)Changes the coefficients of the Normal vector of a Plane to make it of unit length.
Public methodStatic memberNormalize(Plane, Plane)Changes the coefficients of the Normal vector of a Plane to make it of unit length.
Public methodToStringReturns a String that represents the current Plane. (Overrides ValueType.ToString().)
Public methodStatic memberTransform(Plane, Matrix)Transforms a normalized Plane by a Matrix.
Public methodStatic memberTransform(Plane, Quaternion)Transforms a normalized Plane by a Quaternion rotation.
Public methodStatic memberTransform(Plane, Matrix, Plane)Transforms a normalized Plane by a Matrix.
Public methodStatic memberTransform(Plane, Quaternion, Plane)Transforms a normalized Plane by a Quaternion rotation.
Top

  NameDescription
Public operatorStatic memberEqualityDetermines whether two instances of Plane are equal.
Public operatorStatic memberInequalityDetermines whether two instances of Plane are not equal.
Top

  NameDescription
Public fieldDThe distance of the Plane along its normal from the origin.
Public fieldNormalThe normal vector of the Plane.
Top

The Plane structure represents a plane using a 3D vector normal and a distance value (stored as a negative value).

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft