TextStudio3DThemeScope
[ExecuteAlways][DisallowMultipleComponent][AddComponentMenu("Text Studio/3D/Theme Scope")]public sealed class TextStudio3DThemeScope : MonoBehaviourSupplies an inheritable 3D theme to descendant text and controls, falling through when no theme is assigned.
Methods
Section titled “Methods”
ApplyTheme(TextStudio3DTheme)
Section titled “ApplyTheme(TextStudio3DTheme)”public void ApplyTheme(TextStudio3DTheme theme)Assigns the scoped theme and refreshes all registered theme consumers.
Parameters
| Name | Type |
|---|---|
theme |
TextStudio.ThreeD.TextStudio3DTheme |
Constructors
Section titled “Constructors”
TextStudio3DThemeScope()
Section titled “TextStudio3DThemeScope()”public TextStudio3DThemeScope()Properties
Section titled “Properties”
public TextStudio3DTheme Theme { get; set; }Returns
TextStudio.ThreeD.TextStudio3DTheme