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

GrabFreeTransformer Class

Extends MonoBehaviour, ITransformer
An ITransformer that can translate, rotate and scale a transform using any number of grab points while also constraining the transformation if desired.
This is the default Interaction SDK grab behavior and should be preferred over older implementations such as OneGrabFreeTransformer and TwoGrabFreeTransformer.

Member Functions

Implementation of ITransformer.Initialize(IGrabbable); for details, please refer to the related documentation provided for that interface.
Implementation of ITransformer.BeginTransform; for details, please refer to the related documentation provided for that interface.
Implementation of ITransformer.UpdateTransform; for details, please refer to the related documentation provided for that interface.
Implementation of ITransformer.EndTransform; for details, please refer to the related documentation provided for that interface.
Sets the optional TransformerUtils.PositionConstraints for a dynamically-allocated GrabFreeTransformer instance.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the optional TransformerUtils.RotationConstraints for a dynamically-allocated GrabFreeTransformer instance.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the optional TransformerUtils.ScaleConstraints for a dynamically-allocated GrabFreeTransformer instance.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon