Editar

Partilhar via


MixedRealityPlayspace.RotateAround(Vector3, Vector3, Single) Method

Definition

Rotates the playspace around the specified axis.

public:
 static void RotateAround(UnityEngine::Vector3 point, UnityEngine::Vector3 axis, float angle);
public static void RotateAround (UnityEngine.Vector3 point, UnityEngine.Vector3 axis, float angle);
static member RotateAround : UnityEngine.Vector3 * UnityEngine.Vector3 * single -> unit
Public Shared Sub RotateAround (point As Vector3, axis As Vector3, angle As Single)

Parameters

point
UnityEngine.Vector3

The point to pass through during rotation.

axis
UnityEngine.Vector3

The axis about which to rotate.

angle
Single

The angle, in degrees, to rotate.

Applies to