Skip to content

TextStudio3DStyles

ClassTextStudio.ThreeDTextStudio.3D
public static class TextStudio3DStyles

Registers 3D styles by stable Tag ID, with explicit runtime overrides above the project catalog.

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

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