Sdílet prostřednictvím


Plane.Transform Method (Plane, Quaternion)

Transforms a normalized Plane by a Quaternion rotation.

Syntax

'Declaration
Public Shared Function Transform ( _
         plane As Plane, _
         rotation As Quaternion _
) As Plane 
public static Plane Transform (
         Plane plane,
         Quaternion rotation
)
public:
static Plane Transform(
         Plane plane,
         Quaternion rotation
)

Parameters

  • plane
    Type: Plane
    The normalized Plane to transform. This Plane must already be normalized, so that its Normal vector is of unit length, before this method is called.
  • rotation
    Type: Quaternion
    The Quaternion rotation to apply to the Plane.

Return Value

Type: Plane
A new Plane that results from applying the rotation.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Plane Structure
Plane Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone