API reference

OneGrabScaleTransformer Class

Extends MonoBehaviour
It is not expected that typical users of the SlateWithManipulators prefab should need to either interact with or understand this script.
This is a specialized transformer for scaling based on a single grab, canonically from an affordance such as the corner affordances on the SlateWithManipulators prefab.

Properties

Constraints : OneGrabScaleConstraints
[Get][Set]
Signature
OneGrabScaleConstraints Oculus.Interaction.Samples.OneGrabScaleTransformer.Constraints

Methods

BeginTransform ()
Signature
void Oculus.Interaction.Samples.OneGrabScaleTransformer.BeginTransform()
Returns
void
EndTransform ()
Signature
void Oculus.Interaction.Samples.OneGrabScaleTransformer.EndTransform()
Returns
void
Initialize ( grabbable )
Signature
void Oculus.Interaction.Samples.OneGrabScaleTransformer.Initialize(IGrabbable grabbable)
Parameters
grabbable: IGrabbable
Returns
void
UpdateTransform ()
Signature
void Oculus.Interaction.Samples.OneGrabScaleTransformer.UpdateTransform()
Returns
void

Inner Class

OneGrabScaleConstraints Class

Fields

ConstrainXYAspectRatio : bool
Signature
bool Oculus.Interaction.Samples.OneGrabScaleTransformer.OneGrabScaleConstraints.ConstrainXYAspectRatio
IgnoreFixedAxes : bool
Signature
bool Oculus.Interaction.Samples.OneGrabScaleTransformer.OneGrabScaleConstraints.IgnoreFixedAxes
Signature
FloatConstraint Oculus.Interaction.Samples.OneGrabScaleTransformer.OneGrabScaleConstraints.MaxX
Signature
FloatConstraint Oculus.Interaction.Samples.OneGrabScaleTransformer.OneGrabScaleConstraints.MaxY
Signature
FloatConstraint Oculus.Interaction.Samples.OneGrabScaleTransformer.OneGrabScaleConstraints.MaxZ
Signature
FloatConstraint Oculus.Interaction.Samples.OneGrabScaleTransformer.OneGrabScaleConstraints.MinX
Signature
FloatConstraint Oculus.Interaction.Samples.OneGrabScaleTransformer.OneGrabScaleConstraints.MinY
Signature
FloatConstraint Oculus.Interaction.Samples.OneGrabScaleTransformer.OneGrabScaleConstraints.MinZ