Skip to content

Extrude3DStyle

ClassTextStudio.ThreeDTextStudio.3D
[CreateAssetMenu(fileName = "New 3D Style", menuName = "Text Studio/3D/Appearance/Extrude Style", order = 104)]
public class Extrude3DStyle : ScriptableObject

Reusable 3D text style preset. Controls extrusion, bevels, and material assignment. Create via Assets → Create → Text Studio → 3D → Extrude Style, or via the Create button in the Text Studio — 3D inspector.

public void ApplyPreset(BuiltInExtrudeStyles.Preset preset)

Replace this style’s layers with one of the built-in presets. Called from the editor’s “Apply Preset” dropdown. Safe to call at runtime too.

Parameters

Name Type
preset TextStudio.ThreeD.BuiltInExtrudeStyles.Preset

public Extrude3DStyle()

public TextStudio3DLayer[] Layers { get; }

Returns

TextStudio.ThreeD.TextStudio3DLayer[]

public float FlattenTolerance { get; }

Returns

System.Single

public float AutoSmoothAngle { get; }

Returns

System.Single

public bool UseRobustTriangulation { get; }

Returns

System.Boolean