BevelSpec
public struct BevelSpecOne end of a layer’s bevel (either front or back cap). Decomposes the old
monolithic bevelRadius into the four inputs that authoring tools
like Blender and Cinema 4D expose separately, and adds a join style / miter
limit for polygon corners so sharp letterforms remain crisp.
Fields
Section titled “Fields”
[Tooltip("Radial offset applied in the contour's XY plane. In local units. The bevel pulls the cap ring inward by this much from the body silhouette. Equivalent to Three.js' bevelSize or Blender's Bevel Depth (horizontal).")][Range(0, 0.2)]public float sizeReturns
System.Single
thickness
Section titled “thickness”[Tooltip("Extent along the extrusion axis (Z). The bevel displaces vertices by this much along the cap direction. Equivalent to Three.js' bevelThickness. When set equal to 'size' the bevel is a 45° chamfer; when smaller it is a flatter slope; when larger it is a steeper one.")][Range(0, 0.2)]public float thicknessReturns
System.Single
offset
Section titled “offset”[Tooltip("Uniform radial offset applied to the body silhouette BEFORE the bevel is swept. Positive values inset the whole cap plane inward (useful for double bevels / trim steps). Equivalent to Three.js' bevelOffset.")][Range(-0.1, 0.1)]public float offsetReturns
System.Single
segments
Section titled “segments”[Tooltip("Segment count along the bevel cross-section. More segments = smoother bevel, more triangles. Profile samples override this when > 1 (see profile).")][Range(0, 32)]public int segmentsReturns
System.Int32
profile
Section titled “profile”[Tooltip("2D cross-section swept along the contour. When null, a rounded profile with the requested segment count is used.")]public BevelProfile profileReturns
TextStudio.ThreeD.BevelProfile
[Tooltip("Join style applied to polygon corners. Miter is sharp; Round inserts an arc fan (most visible on chunky bevels); Bevel inserts a single chamfer edge.")]public BevelJoinType joinReturns
TextStudio.ThreeD.BevelJoinType
miterLimit
Section titled “miterLimit”[Tooltip("Miter clamp for Miter joins. Large values let sharp corners spike; small values fall back to a bevel join at extreme angles. Typical values are 2..8.")][Min(1)]public float miterLimitReturns
System.Single
Methods
Section titled “Methods”
Round(float, float, int)
Section titled “Round(float, float, int)”public static BevelSpec Round(float size, float thickness, int segments = 6)Creates an enabled rounded bevel with independent inset size, depth thickness, and bounded segment count.
Parameters
| Name | Type |
|---|---|
size |
System.Single |
thickness |
System.Single |
segments |
System.Int32 |
Returns
TextStudio.ThreeD.BevelSpec
Chamfer(float, float)
Section titled “Chamfer(float, float)”public static BevelSpec Chamfer(float size, float thickness)Creates an enabled single-segment linear chamfer with independent inset size and depth thickness.
Parameters
| Name | Type |
|---|---|
size |
System.Single |
thickness |
System.Single |
Returns
TextStudio.ThreeD.BevelSpec
Properties
Section titled “Properties”
HasGeometry
Section titled “HasGeometry”public bool HasGeometry { get; }Returns
System.Boolean
public static BevelSpec None { get; }Returns
TextStudio.ThreeD.BevelSpec