Gesture.Positions.GetMaskedTranslationWorldSpace
GetMaskedTranslationWorldSpace(Transform, Vector3, Vector3, ThreeD<bool>)
The delta between from and to in world space, constrained to the axisMask local axes of the provided transform.
Declaration
public static Vector3 GetMaskedTranslationWorldSpace(Transform transform, Vector3 from, Vector3 to, ThreeD<bool> axisMask)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | transform | Defines the local space. |
| Vector3 | from | The start position in world space. |
| Vector3 | to | The end position in world space. |
| ThreeD<bool> | axisMask | The local space axes. |
Returns
| Type | Description |
|---|---|
| Vector3 | The delta between |