TextStudio3DStyles
public static class TextStudio3DStylesRegisters 3D styles by stable Tag ID, with explicit runtime overrides above the project catalog.
Methods
Section titled “Methods”
Register(Extrude3DStyle, bool)
Section titled “Register(Extrude3DStyle, bool)”public static void Register(Extrude3DStyle style, bool replaceExisting = false)Registers a style definition, optionally replacing an existing entry with the same identifier.
Parameters
| Name | Type |
|---|---|
style |
TextStudio.ThreeD.Extrude3DStyle |
replaceExisting |
System.Boolean |
TryGetDefinition(string, out Extrude3DStyle)
Section titled “TryGetDefinition(string, out Extrude3DStyle)”public static bool TryGetDefinition(string id, out Extrude3DStyle style)Looks up a registered style definition by identifier.
Parameters
| Name | Type |
|---|---|
id |
System.String |
style |
TextStudio.ThreeD.Extrude3DStyle |
Returns
System.Boolean
Unregister(string)
Section titled “Unregister(string)”public static bool Unregister(string id)Removes only the runtime override, revealing the project entry when present.
Parameters
| Name | Type |
|---|---|
id |
System.String |
Returns
System.Boolean