Muokkaa

Jaa


Plane.Transform Method

Definition

Transforms a normalized plane.

Overloads

Transform(Plane, Matrix4x4)

Transforms a normalized plane by a 4x4 matrix.

Transform(Plane, Quaternion)

Transforms a normalized plane by a Quaternion rotation.

Transform(Plane, Matrix4x4)

Source:
Plane.cs
Source:
Plane.cs
Source:
Plane.cs

Transforms a normalized plane by a 4x4 matrix.

public:
 static System::Numerics::Plane Transform(System::Numerics::Plane plane, System::Numerics::Matrix4x4 matrix);
public static System.Numerics.Plane Transform (System.Numerics.Plane plane, System.Numerics.Matrix4x4 matrix);
static member Transform : System.Numerics.Plane * System.Numerics.Matrix4x4 -> System.Numerics.Plane
Public Shared Function Transform (plane As Plane, matrix As Matrix4x4) As Plane

Parameters

plane
Plane

The normalized plane to transform.

matrix
Matrix4x4

The transformation matrix to apply to plane.

Returns

The transformed plane.

Remarks

plane must already be normalized so that its Normal vector is of unit length before this method is called.

Applies to

Transform(Plane, Quaternion)

Source:
Plane.cs
Source:
Plane.cs
Source:
Plane.cs

Transforms a normalized plane by a Quaternion rotation.

public:
 static System::Numerics::Plane Transform(System::Numerics::Plane plane, System::Numerics::Quaternion rotation);
public static System.Numerics.Plane Transform (System.Numerics.Plane plane, System.Numerics.Quaternion rotation);
static member Transform : System.Numerics.Plane * System.Numerics.Quaternion -> System.Numerics.Plane
Public Shared Function Transform (plane As Plane, rotation As Quaternion) As Plane

Parameters

plane
Plane

The normalized plane to transform.

rotation
Quaternion

The Quaternion rotation to apply to the plane.

Returns

A new plane that results from applying the Quaternion rotation.

Remarks

plane must already be normalized so that its Normal vector is of unit length before this method is called.

Applies to