Skip to content

TextStudio3DProgressBar

ClassTextStudio.ThreeDTextStudio.3D
[AddComponentMenu("Text Studio/Spatial UI/3D Progress Bar")]
public sealed class TextStudio3DProgressBar : TextStudio3DControl

Presents a bounded numeric value through a 3D label and an optional local-scale fill transform.

public bool SetValue(float value, bool notify)

Clamps the progress value, updates label and fill presentation, and optionally raises its event.

Parameters

Name Type
value System.Single
notify System.Boolean

Returns

System.Boolean: True when the retained value changed.

public void SetNormalizedValue(float normalizedValue)

Maps a normalized value into the configured numeric range and publishes the change.

Parameters

Name Type
normalizedValue System.Single
protected override void RefreshLabel()

Allows a subclass to derive its displayed label from current semantic state.

protected override void PerformActivation()

Applies the subclass’s semantic activation after common interactability checks.

public TextStudio3DProgressBar()

public float Minimum { get; set; }

Returns

System.Single

public float Maximum { get; set; }

Returns

System.Single

public float Value { get; set; }

Returns

System.Single

public float NormalizedValue { get; }

Returns

System.Single

public UnityEvent<float> OnValueChanged { get; }

Returns

UnityEngine.Events.UnityEvent{System.Single}

protected override bool ShowsDisabledVisualWhenNotInteractable { get; }

Returns

System.Boolean