Editare

Partajați prin


Matrix4x4.CreateRotationZ Method

Definition

Creates a matrix for rotating points around the Z axis.

Overloads

CreateRotationZ(Single)

Creates a matrix for rotating points around the Z axis.

CreateRotationZ(Single, Vector3)

Creates a matrix for rotating points around the Z axis from a center point.

CreateRotationZ(Single)

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

Creates a matrix for rotating points around the Z axis.

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

Parameters

radians
Single

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

Returns

The rotation matrix.

Applies to

CreateRotationZ(Single, Vector3)

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

Creates a matrix for rotating points around the Z axis from a center point.

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

Parameters

radians
Single

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

centerPoint
Vector3

The center point.

Returns

The rotation matrix.

Applies to