Editar

Compartilhar via


SKMatrix44.SetRotationAboutUnit(Single, Single, Single, Single) Method

Definition

Resets the current matrix to a rotation matrix, without checking to see if the specified vector is unit-length.

public void SetRotationAboutUnit (float x, float y, float z, float radians);

Parameters

x
Single

The x-axis to rotate around.

y
Single

The y-axis to rotate around.

z
Single

The z-axis to rotate around.

radians
Single

The amount, in radians, to rotate by.

Remarks

This method assumes the specified vector is unit-length.

Applies to