Method RotateAroundCameraUsingOriginUp
RotateAroundCameraUsingOriginUp(float)
Rotates the XR origin object around the camera object by the provided angleDegrees
.
This rotation only occurs around the origin's Up vector
Declaration
public bool RotateAroundCameraUsingOriginUp(float angleDegrees)
Parameters
Type | Name | Description |
---|---|---|
float | angleDegrees | The amount of rotation in degrees. |
Returns
Type | Description |
---|---|
bool | Returns true if the rotation is performed. Otherwise, returns false. |