Click or drag to resize

MathRotatePointAroundPivot Method (Vector3, Vector3, Quaternion)

Rotate a point around a pivot

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static UnityEngine.Vector3 RotatePointAroundPivot(
	UnityEngine.Vector3 point,
	UnityEngine.Vector3 pivot,
	UnityEngine.Quaternion rotation
)

Parameters

point
Type: UnityEngine.Vector3
pivot
Type: UnityEngine.Vector3
rotation
Type: UnityEngine.Quaternion

Return Value

Type: UnityEngine.Vector3
See Also