MixedRealityPlayspace.RotateAround(Vector3, Vector3, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.