Plane.Transform Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για