Pivot
: Transform |
Signature
Transform Oculus.Interaction.OneGrabRotateTransformer.Pivot |
RotationAxis
: Axis |
The axis that this transformer will rotate around.
Signature
Axis Oculus.Interaction.OneGrabRotateTransformer.RotationAxis |
Constraints
: OneGrabRotateConstraints
[Get][Set] |
The current OneGrabRotateConstraints that are being used by this instance.
Signature
OneGrabRotateConstraints Oculus.Interaction.OneGrabRotateTransformer.Constraints |
BeginTransform
()
|
Implementation of ITransformer.BeginTransform; for details, please refer to the related documentation provided for that interface.
Signature
void Oculus.Interaction.OneGrabRotateTransformer.BeginTransform() Returns void |
ComputeWorldPivotPose
()
|
Computes the pose of the rotational pivot, in world space.
Signature
Pose Oculus.Interaction.OneGrabRotateTransformer.ComputeWorldPivotPose() Returns Pose
The world space pose of the rotational pivot.
|
EndTransform
()
|
Implementation of ITransformer.EndTransform; for details, please refer to the related documentation provided for that interface.
Signature
void Oculus.Interaction.OneGrabRotateTransformer.EndTransform() Returns void |
Initialize
(
grabbable
)
|
Implementation of ITransformer.Initialize; for details, please refer to the related documentation provided for that interface.
Signature
void Oculus.Interaction.OneGrabRotateTransformer.Initialize(IGrabbable grabbable) Parameters grabbable: IGrabbableReturns void |
InjectOptionalConstraints
(
constraints
)
|
Sets the underlying OneGrabRotateConstraints for a dynamically instantiated OneGrabRotateTransformer.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.OneGrabRotateTransformer.InjectOptionalConstraints(OneGrabRotateConstraints constraints) Parameters constraints: OneGrabRotateConstraintsReturns void |
InjectOptionalPivotTransform
(
pivotTransform
)
|
Injects all required dependencies for a dynamically instantiated OneGrabRotateTransformer.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.OneGrabRotateTransformer.InjectOptionalPivotTransform(Transform pivotTransform) Parameters pivotTransform: TransformReturns void |
InjectOptionalRotationAxis
(
rotationAxis
)
|
Sets the underlying optional rotational Axis for a dynamically instantiated OneGrabRotateTransformer.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.OneGrabRotateTransformer.InjectOptionalRotationAxis(Axis rotationAxis) Parameters rotationAxis: AxisReturns void |
UpdateTransform
()
|
Implementation of ITransformer.UpdateTransform; for details, please refer to the related documentation provided for that interface.
Signature
void Oculus.Interaction.OneGrabRotateTransformer.UpdateTransform() Returns void |
MaxAngle
: FloatConstraint |
Signature
FloatConstraint Oculus.Interaction.OneGrabRotateTransformer.OneGrabRotateConstraints.MaxAngle |
MinAngle
: FloatConstraint |
Signature
FloatConstraint Oculus.Interaction.OneGrabRotateTransformer.OneGrabRotateConstraints.MinAngle |
| Member | Value |
|---|---|
Right | 0 |
Up | 1 |
Forward | 2 |