API reference

GazeHighlightRadiusSync Class

Extends MonoBehaviour
Syncs a GazeHighlightVisual's corner radii from the button's RoundedBoxUIProperties so the gaze hover glow matches the button's actual rounded-corner shape.
Runs in edit mode and at runtime (ExecuteAlways) to support the prefab-editing workflow. Attach to the GazeHighlightUI root or the Background GameObject.

Methods

Sync ()
Signature
void Oculus.Interaction.Samples.GazeHighlightRadiusSync.Sync()
Returns
void