Skip to content

BodyShell3DSpec

StructTextStudio.ThreeDTextStudio.3D
public struct BodyShell3DSpec

Independent wall recipe for the extruded body cross-section.

[Tooltip("Body fill. Solid keeps the complete glyph cross-section; Hollow keeps a wall band around every exterior and counter boundary.")]
public BodyShell3DMode mode

Returns

TextStudio.ThreeD.BodyShell3DMode

[Tooltip("Inward wall thickness in local units. Features narrower than this remain safely filled instead of producing inverted geometry.")]
[Min(0)]
public float thickness

Returns

System.Single

[Tooltip("Corner style used by the shell's inward boundary.")]
public BevelJoinType join

Returns

TextStudio.ThreeD.BevelJoinType

[Tooltip("Maximum corner extension for a mitered shell boundary.")]
[Min(1)]
public float miterLimit

Returns

System.Single

public static BodyShell3DSpec Hollow(float thickness, BevelJoinType join = BevelJoinType.Miter, float miterLimit = 4)

Enables a hollow body shell with wall thickness and a selected corner-join policy.

Parameters

Name Type
thickness System.Single
join TextStudio.ThreeD.BevelJoinType
miterLimit System.Single

Returns

TextStudio.ThreeD.BodyShell3DSpec

public bool IsEnabled { get; }

Returns

System.Boolean

public static BodyShell3DSpec Solid { get; }

Returns

TextStudio.ThreeD.BodyShell3DSpec