TextStudio3DLayer
public struct TextStudio3DLayerSingle layer in a Text Studio — 3D layer stack. Controls extrusion depth, bevels, depth-axis shaping, material assignment, and the layer’s topology mode.
Each layer has independent TextStudio.ThreeD.TextStudio3DLayer.frontBevel and TextStudio.ThreeD.TextStudio3DLayer.backBevel
sub-structs — swap them out to produce ogee mouldings, knife edges, double
chamfers, etc., without authoring a custom mesh.
Fields
Section titled “Fields”
[Tooltip("Display name for this layer.")]public string nameReturns
System.String
Properties
Section titled “Properties”
Contour
Section titled “Contour”public Contour3DSpec Contour { get; set; }Gets or replaces contour selection and outline construction.
Returns
TextStudio.ThreeD.Contour3DSpec
public Front3DSpec Front { get; set; }Gets or replaces front-cap construction.
Returns
TextStudio.ThreeD.Front3DSpec
public Edge3DSpec Edge { get; set; }Gets or replaces bevel and boundary-edge construction.
Returns
TextStudio.ThreeD.Edge3DSpec
public Body3DSpec Body { get; set; }Gets or replaces depth, sweep, and shell construction.
Returns
TextStudio.ThreeD.Body3DSpec
public Back3DSpec Back { get; set; }Gets or replaces back-cap construction.
Returns
TextStudio.ThreeD.Back3DSpec
Deformation
Section titled “Deformation”public Deformation3DSpec Deformation { get; set; }Gets or replaces topology-stage depth deformation.
Returns
TextStudio.ThreeD.Deformation3DSpec
Decoration
Section titled “Decoration”public Decoration3DSpec Decoration { get; set; }Gets or replaces attached or emitted decorative geometry.
Returns
TextStudio.ThreeD.Decoration3DSpec
Surface
Section titled “Surface”public Surface3DSpec Surface { get; set; }Gets or replaces material assignments for the layer’s surface regions.
Returns
TextStudio.ThreeD.Surface3DSpec
SurfaceMappings
Section titled “SurfaceMappings”public SurfaceMapping3DSet SurfaceMappings { get; set; }Gets or replaces texture mapping for the default and overridden semantic surfaces.
Returns
TextStudio.ThreeD.SurfaceMapping3DSet
Placement
Section titled “Placement”public Placement3DSpec Placement { get; set; }Gets or replaces placement relative to neighboring layers.
Returns
TextStudio.ThreeD.Placement3DSpec
EffectiveStroke
Section titled “EffectiveStroke”public StrokeSpec EffectiveStroke { get; }Returns the first stroke in TextStudio.ThreeD.TextStudio3DLayer.strokes, or TextStudio.ThreeD.StrokeSpec.None
when empty. The geometry generator emits at most one stroke per
GenerateGlyphMesh call; the layer resolver flattens multi-stroke
layers into per-stroke effective layers before geometry runs.
Returns
TextStudio.ThreeD.StrokeSpec
Enabled
Section titled “Enabled”public bool Enabled { get; set; }Controls whether this layer contributes geometry to the compiled style. Disabled layers retain their authored settings and can be enabled again later.
Returns
System.Boolean
Default
Section titled “Default”public static TextStudio3DLayer Default { get; }Returns
TextStudio.ThreeD.TextStudio3DLayer