Partager via


Plane.FromPointNormal(Vector3,Vector3) Method (Microsoft.DirectX)

Constructs a plane from a point and a normal.

Definition

Visual Basic Public Shared Function FromPointNormal( _
    ByVal point As Vector3, _
    ByVal normal As Vector3 _
) As Plane
C# public static Plane FromPointNormal(
    Vector3 point,
    Vector3 normal
);
C++ public:
static Plane FromPointNormal(
    Vector3 point,
    Vector3 normal
);
JScript public static function FromPointNormal(
    point : Vector3,
    normal : Vector3
) : Plane;

Parameters

point Microsoft.DirectX.Vector3
A Vector3 structure that defines the point used to construct the plane.
normal Microsoft.DirectX.Vector3
A Vector3 structure that defines the normal used to construct the plane.

Return Value

Microsoft.DirectX.Plane
A Plane structure constructed from the point and the normal.

See Also