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

TwoGrabRotateTransformer Class

A Transformer that rotates the target about an axis, given two grab points.
Oculus::Interaction::TwoGrabRotateTransformer extends MonoBehaviour.
Oculus::Interaction::TwoGrabRotateTransformer extends Oculus.Interaction.ITransformer.

Overview

Public Types

enum

Properties

Transform

Public Member Functions

void
Initialize
( IGrabbable grabbable )
void
void
void
void
InjectOptionalPivotTransform
( Transform pivotTransform )
void
InjectOptionalRotationAxis
( Axis rotationAxis )
void

Details

Detailed Description

Updates apply relative rotational changes, relative to the angle change between the two grab points each frame. The axis is defined by a pivot transform: a world position and up vector.

Member Enumerations

enum Oculus::Interaction::TwoGrabRotateTransformer.Axis
Enumerator
Right
= 0
Up
= 1
Forward
= 2

Properties

Transform Oculus.Interaction.TwoGrabRotateTransformer.PivotTransform
No description available.

Member Functions

void Oculus.Interaction.TwoGrabRotateTransformer.Initialize
( IGrabbable grabbable )
No description available.
void Oculus.Interaction.TwoGrabRotateTransformer.BeginTransform ( )
No description available.
void Oculus.Interaction.TwoGrabRotateTransformer.UpdateTransform ( )
No description available.
void Oculus.Interaction.TwoGrabRotateTransformer.EndTransform ( )
No description available.
void Oculus.Interaction.TwoGrabRotateTransformer.InjectOptionalPivotTransform
( Transform pivotTransform )
No description available.
void Oculus.Interaction.TwoGrabRotateTransformer.InjectOptionalRotationAxis
( Axis rotationAxis )
No description available.
void Oculus.Interaction.TwoGrabRotateTransformer.InjectOptionalConstraints
( TwoGrabRotateConstraints constraints )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon