TextStudio3DRepositionHandle
[AddComponentMenu("Text Studio/Spatial UI/3D Reposition Handle")]public sealed class TextStudio3DRepositionHandle : TextStudio3DControlMoves a target transform along a pointer-defined drag plane while retaining the standard spatial control lifecycle.
Methods
Section titled “Methods”
OnPointerPressed(TextStudio3DInteractionContext)
Section titled “OnPointerPressed(TextStudio3DInteractionContext)”protected override void OnPointerPressed(TextStudio3DInteractionContext context)Allows a subclass to initialize state for an accepted primary-button press.
Parameters
| Name | Type |
|---|---|
context |
TextStudio.ThreeD.TextStudio3DInteractionContext |
OnPointerDragged(TextStudio3DInteractionContext)
Section titled “OnPointerDragged(TextStudio3DInteractionContext)”protected override void OnPointerDragged(TextStudio3DInteractionContext context)Allows a subclass to update its value or transform from an accepted pointer drag.
Parameters
| Name | Type |
|---|---|
context |
TextStudio.ThreeD.TextStudio3DInteractionContext |
OnPointerReleased(TextStudio3DInteractionContext)
Section titled “OnPointerReleased(TextStudio3DInteractionContext)”protected override void OnPointerReleased(TextStudio3DInteractionContext context)Allows a subclass to finalize an accepted pointer release before optional activation.
Parameters
| Name | Type |
|---|---|
context |
TextStudio.ThreeD.TextStudio3DInteractionContext |
OnPointerCanceled(TextStudio3DInteractionContext)
Section titled “OnPointerCanceled(TextStudio3DInteractionContext)”protected override void OnPointerCanceled(TextStudio3DInteractionContext context)Allows a subclass to discard transient state after a pointer session is canceled.
Parameters
| Name | Type |
|---|---|
context |
TextStudio.ThreeD.TextStudio3DInteractionContext |
PerformActivation()
Section titled “PerformActivation()”protected override void PerformActivation()Applies the subclass’s semantic activation after common interactability checks.
Constructors
Section titled “Constructors”
TextStudio3DRepositionHandle()
Section titled “TextStudio3DRepositionHandle()”public TextStudio3DRepositionHandle()Properties
Section titled “Properties”
Target
Section titled “Target”public Transform Target { get; set; }Returns
UnityEngine.Transform
OnPositionChanged
Section titled “OnPositionChanged”public UnityEvent<Vector3> OnPositionChanged { get; }Returns
UnityEngine.Events.UnityEvent{UnityEngine.Vector3}
ActivateOnPointerRelease
Section titled “ActivateOnPointerRelease”protected override bool ActivateOnPointerRelease { get; }Returns
System.Boolean