Extrude3DStyle
[CreateAssetMenu(fileName = "New 3D Style", menuName = "Text Studio/3D/Appearance/Extrude Style", order = 104)]public class Extrude3DStyle : ScriptableObjectReusable 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.
Methods
Section titled “Methods”
ApplyPreset(Preset)
Section titled “ApplyPreset(Preset)”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 |
Constructors
Section titled “Constructors”
Extrude3DStyle()
Section titled “Extrude3DStyle()”public Extrude3DStyle()Properties
Section titled “Properties”
Layers
Section titled “Layers”public TextStudio3DLayer[] Layers { get; }Returns
TextStudio.ThreeD.TextStudio3DLayer[]
FlattenTolerance
Section titled “FlattenTolerance”public float FlattenTolerance { get; }Returns
System.Single
AutoSmoothAngle
Section titled “AutoSmoothAngle”public float AutoSmoothAngle { get; }Returns
System.Single
UseRobustTriangulation
Section titled “UseRobustTriangulation”public bool UseRobustTriangulation { get; }Returns
System.Boolean