API reference
API reference
Select your platform
No SDKs available
No versions available

OneGrabRotateTransformer Class

Extends MonoBehaviour, ITransformer
A Transformer that rotates the target about an axis.
Updates apply relative rotational changes of a GrabPoint about an axis. The axis is defined by a pivot transform: a world position and up vector.

Member Enumerations

Enumeration Axis

Right
= 0
Up
= 1
Forward
= 2

Properties

Transform Pivot[Get]
Axis RotationAxis[Get]
OneGrabRotateConstraints Constraints[Get]

Member Functions

void Initialize
( IGrabbable grabbable )
Pose ComputeWorldPivotPose ( )
void BeginTransform ( )
void UpdateTransform ( )
void EndTransform ( )
void InjectOptionalPivotTransform
( Transform pivotTransform )
void InjectOptionalRotationAxis
( Axis rotationAxis )
void InjectOptionalConstraints
( OneGrabRotateConstraints constraints )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon