Editare

Partajați prin


Matrix4x4.CreateRotationY Method

Definition

Creates a matrix for rotating points around the Y axis.

Overloads

CreateRotationY(Single)

Creates a matrix for rotating points around the Y axis.

CreateRotationY(Single, Vector3)

The amount, in radians, by which to rotate around the Y axis from a center point.

CreateRotationY(Single)

Source:
Matrix4x4.cs
Source:
Matrix4x4.cs
Source:
Matrix4x4.cs

Creates a matrix for rotating points around the Y axis.

public:
 static System::Numerics::Matrix4x4 CreateRotationY(float radians);
public static System.Numerics.Matrix4x4 CreateRotationY (float radians);
static member CreateRotationY : single -> System.Numerics.Matrix4x4
Public Shared Function CreateRotationY (radians As Single) As Matrix4x4

Parameters

radians
Single

The amount, in radians, by which to rotate around the Y-axis.

Returns

The rotation matrix.

Applies to

CreateRotationY(Single, Vector3)

Source:
Matrix4x4.cs
Source:
Matrix4x4.cs
Source:
Matrix4x4.cs

The amount, in radians, by which to rotate around the Y axis from a center point.

public:
 static System::Numerics::Matrix4x4 CreateRotationY(float radians, System::Numerics::Vector3 centerPoint);
public static System.Numerics.Matrix4x4 CreateRotationY (float radians, System.Numerics.Vector3 centerPoint);
static member CreateRotationY : single * System.Numerics.Vector3 -> System.Numerics.Matrix4x4
Public Shared Function CreateRotationY (radians As Single, centerPoint As Vector3) As Matrix4x4

Parameters

radians
Single

The amount, in radians, by which to rotate around the Y-axis.

centerPoint
Vector3

The center point.

Returns

The rotation matrix.

Applies to